summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index fcb9295..3fa1e54 100644
--- a/main.c
+++ b/main.c
@@ -356,7 +356,7 @@ main(int argc, char *argv[]) {
XSync(dpy, False);
/* main event loop */
- while(running && !XNextEvent(dpy, &ev)) {
+ while(running && !XNextEvent(dpy, &ev))
switch (ev.type) {
default: /* ignore all crap */
break;
@@ -368,7 +368,6 @@ main(int argc, char *argv[]) {
drawmenu();
break;
}
- }
/* cleanup */
while(allitems) {