Fix dmenu mode.

This commit is contained in:
QC 2015-06-11 21:07:25 +02:00
parent d11c61cef1
commit a811011a1d

View file

@ -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;