diff --git a/src/forms_timer.cxx b/src/forms_timer.cxx index 031d67f27..9699eaf6e 100644 --- a/src/forms_timer.cxx +++ b/src/forms_timer.cxx @@ -137,6 +137,7 @@ Fl_Timer::Fl_Timer(uchar t, int X, int Y, int W, int H, const char* l) 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);