From a89166a14f65b62b8a5c1ffccf33f791e00c294d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Feb 2003 08:03:49 +0000 Subject: [PATCH] cleaner while loop --- otk/application.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/otk/application.cc b/otk/application.cc index afe06f80..c5889e8d 100644 --- a/otk/application.cc +++ b/otk/application.cc @@ -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 } } -- 2.45.2