fix hotkey handling
This commit is contained in:
parent
322061f869
commit
78780e7005
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ append_menu_entry (int argc, const char **args, char **classes,
|
|||
menu_hotkey = hotkey_aliases[i].key;
|
||||
break;
|
||||
}
|
||||
if (i > ARRAY_SIZE (hotkey_aliases))
|
||||
goto fail;
|
||||
if (i == ARRAY_SIZE (hotkey_aliases))
|
||||
menu_hotkey = hotkey[0];
|
||||
}
|
||||
|
||||
if (! argc)
|
||||
|
|
Loading…
Reference in a new issue