1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

Possible fix for #179

This commit is contained in:
QC 2015-06-20 15:10:02 +02:00
parent 90eb18b3c0
commit ce73f468ca

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;