aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index f8c8abc..a6cd6ae 100644
--- a/menu.c
+++ b/menu.c
@@ -161,7 +161,7 @@ menu_filter(struct menu_q *menuq, char *prompt, char *initial, int dummy,
}
}
out:
- if ((dummy == 0 && mi->dummy) || (mi->text[0] == '\0')) { /* no match */
+ if (dummy == 0 && mi->dummy) { /* no match */
xfree (mi);
mi = NULL;
xu_ptr_ungrab();