projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a5849
)
cleaner while loop
author
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 08:03:49 +0000
(08:03 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 08:03:49 +0000
(08:03 +0000)
otk/application.cc
patch
|
blob
|
history
diff --git
a/otk/application.cc
b/otk/application.cc
index
afe06f8
..
c5889e8
100644
(file)
--- 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
}
}