Author: matt
Date: 2009-11-07 13:11:16 -0800 (Sat, 07 Nov 2009)
New Revision: 6928
Log:
Fixed uninitialized variables in Fl_Timer. STR #2287

Modified:
   branches/branch-1.1/src/forms_timer.cxx

Modified: branches/branch-1.1/src/forms_timer.cxx
===================================================================
--- branches/branch-1.1/src/forms_timer.cxx     2009-11-07 21:02:52 UTC (rev 
6927)
+++ branches/branch-1.1/src/forms_timer.cxx     2009-11-07 21:11:16 UTC (rev 
6928)
@@ -137,6 +137,7 @@
   delay = 0;
   on = 0;
   direction_ = 0;
+  lastsec = lastusec = total = 0;
   type(t);
   if (t == FL_HIDDEN_TIMER) clear_visible();
   if (t == FL_VALUE_TIMER) align(FL_ALIGN_LEFT);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to