Displaying 1 result from an estimated 1 matches for "consider_for_hotkey".
2019 Apr 17
1
Fix: hotkey uppercasing too wide
...if (cm->menu_hotkeys[key]) {
key_timeout = 0;
entry = cm->menu_hotkeys[key]->entry;
--- syslinux-6.03/com32/menu/readconfig.c.orig 2019-04-17 11:53:15.794263379 -0500
+++ syslinux-6.03/com32/menu/readconfig.c 2019-04-17 12:13:43.549878848 -0500
@@ -279,7 +279,7 @@ static void consider_for_hotkey(struct m
if (me->action != MA_DISABLED) {
if (p && p[1]) {
- unsigned char hotkey = p[1] & ~0x20;
+ unsigned char hotkey = p[1] & ((hotkey & 0xE0) == 0x60 ? ~0x20 : 0xFF);
if (!m->menu_hotkeys[hotkey]) {
me->hotkey = hotkey;
m->menu_hotke...