diff options
author | okan | 2011-03-22 11:03:05 +0000 |
---|---|---|
committer | okan | 2011-03-22 11:03:05 +0000 |
commit | 2281efbc8921cfb2db47bb9fbee3b8f7b12cd712 (patch) | |
tree | 6dc5b58ccf60e9e504d5c0d3a2b9ffa1c2473af9 /menu.c | |
parent | eb5a2d629977996756358281a8182c430aed08f4 (diff) | |
download | cwm-2281efbc8921cfb2db47bb9fbee3b8f7b12cd712.tar.gz |
move the default case to the end.
ok oga@
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |