mirror of https://github.com/fltk/fltk
Fixed uninitialized variables in Fl_Timer. STR #2287
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
25e41cbc4c
commit
3c482f4efa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue