mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-05 14:51:47 +03:00
Fix menu shortcuts on non-menuclass menus
This commit is contained in:
parent
d9a2c7b9c1
commit
f162ddc711
@ -389,7 +389,7 @@ static struct Menu *ami_menu_layout_gt(struct ami_menu_data **md, int max)
|
||||
else
|
||||
nm[i].nm_Label = md[i]->menulab;
|
||||
|
||||
if((md[i]->menukey) && (strlen(md[i]->menukey) > 1)) {
|
||||
if((md[i]->menukey) && (strlen(md[i]->menukey) == 1)) {
|
||||
nm[i].nm_CommKey = md[i]->menukey;
|
||||
}
|
||||
nm[i].nm_Flags = md[i]->flags;
|
||||
|
Loading…
x
Reference in New Issue
Block a user