init clock before displaying it, not after
This commit is contained in:
@@ -3748,8 +3748,8 @@ int main(int argc, char *argv[])
|
|||||||
current_screen = csClock;
|
current_screen = csClock;
|
||||||
// redraw_screen = 1;
|
// redraw_screen = 1;
|
||||||
redraw_header = 1;
|
redraw_header = 1;
|
||||||
wCurrent->Display();
|
|
||||||
InitClock();
|
InitClock();
|
||||||
|
wCurrent->Display();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# endif // ENABLE_CLOCK
|
# endif // ENABLE_CLOCK
|
||||||
|
|||||||
Reference in New Issue
Block a user