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