cleaner while loop

This commit is contained in:
Dana Jansens 2003-02-16 08:03:49 +00:00
parent 73a584981e
commit a89166a14f

View file

@ -56,9 +56,8 @@ void Application::run(void)
while (_appwidget_count > 0) {
dispatchEvents();
if (_appwidget_count <= 0)
break;
Timer::dispatchTimers(); // fire pending events
if (_appwidget_count > 0)
Timer::dispatchTimers(); // fire pending events
}
}