summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-06-11 21:07:25 +0200
committerQC <qball@gmpclient.org>2015-06-11 21:07:25 +0200
commita811011a1d21bc02788063c93bf4c155775401e5 (patch)
treed71dfb5e5a48140914cef2631e8abb0bac47d494
parentd11c61cef1c83fc1cd1692b5c8971f482e556628 (diff)
Fix dmenu mode.
-rw-r--r--source/dialogs/dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c
index d0aa4516..38afd942 100644
--- a/source/dialogs/dmenu.c
+++ b/source/dialogs/dmenu.c
@@ -217,7 +217,7 @@ int dmenu_switcher_dialog ( char **input )
}
int only_selected = FALSE;
- if ( find_arg ( "-only-match" ) >= 0 || find_arg ( "-no-custom" ) ) {
+ if ( find_arg ( "-only-match" ) >= 0 || find_arg ( "-no-custom" ) >= 0 ) {
only_selected = TRUE;
if ( length == 0 ) {
return TRUE;