From d3db965083a783672ce39c36883c194a403abdac Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 30 Dec 2005 10:13:17 +0000 Subject: Fixed a few memory faults found by Valgrind (yes, I finally got my Linux machine up and running again) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Valuator.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Valuator.cxx') diff --git a/src/Fl_Valuator.cxx b/src/Fl_Valuator.cxx index d08813651..296951022 100644 --- a/src/Fl_Valuator.cxx +++ b/src/Fl_Valuator.cxx @@ -38,6 +38,7 @@ Fl_Valuator::Fl_Valuator(int X, int Y, int W, int H, const char* L) align(FL_ALIGN_BOTTOM); when(FL_WHEN_CHANGED); value_ = 0; + previous_value_ = 1; min = 0; max = 1; A = 0.0; -- cgit v1.2.3