aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2011-03-22 11:03:05 +0000
committerokan2011-03-22 11:03:05 +0000
commit2281efbc8921cfb2db47bb9fbee3b8f7b12cd712 (patch)
tree6dc5b58ccf60e9e504d5c0d3a2b9ffa1c2473af9 /menu.c
parenteb5a2d629977996756358281a8182c430aed08f4 (diff)
downloadcwm-2281efbc8921cfb2db47bb9fbee3b8f7b12cd712.tar.gz
move the default case to the end.
ok oga@
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 6172cf8..1ece020 100644
--- a/menu.c
+++ b/menu.c
@@ -150,8 +150,6 @@ menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt,
XWindowEvent(X_Dpy, sc->menuwin, evmask, &e);
switch (e.type) {
- default:
- break;
case KeyPress:
if ((mi = menu_handle_key(&e, &mc, menuq, &resultq))
!= NULL)
@@ -168,6 +166,8 @@ menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt,
!= NULL)
goto out;
break;
+ default:
+ break;
}
}
out: