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) { while (_appwidget_count > 0) {
dispatchEvents(); dispatchEvents();
if (_appwidget_count <= 0) if (_appwidget_count > 0)
break;
Timer::dispatchTimers(); // fire pending events Timer::dispatchTimers(); // fire pending events
} }
} }