Possible fix for #179

This commit is contained in:
QC 2015-06-20 15:10:02 +02:00
parent 90eb18b3c0
commit ce73f468ca
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ int dmenu_switcher_dialog ( char **input )
retv = TRUE;
}
// Quick switch with entry selected.
else if ( ( mretv & MENU_QUICK_SWITCH ) && selected_line > 0 ) {
else if ( ( mretv & MENU_QUICK_SWITCH ) && selected_line >= 0 ) {
dmenu_output_formatted_line ( format, list[selected_line], selected_line, *input );
restart = FALSE;