summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2005-04-03 23:55:10 +0000
committerhpa <hpa>2005-04-03 23:55:10 +0000
commit6cac2a2ac649578d6d4eec5f252c3400f45bb634 (patch)
treea4121e218d25df46e35bec65f2d088a6012fc4e0
parentee86fb27a785d21bcd77bce6e57ec757268fdfc3 (diff)
downloadsyslinux-6cac2a2ac649578d6d4eec5f252c3400f45bb634.tar.gz
Fix highlighting of digits and lower-case characters.
-rw-r--r--com32/modules/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/menu.c b/com32/modules/menu.c
index b7620d72..92872e3a 100644
--- a/com32/modules/menu.c
+++ b/com32/modules/menu.c
@@ -119,7 +119,7 @@ display_entry(const struct menu_entry *entry, const char *attrib,
if ( *p ) {
if ( *p == '^' ) {
p++;
- if ( *p && (unsigned char)*p == entry->hotkey ) {
+ if ( *p && (unsigned char)*p & ~0x20 == entry->hotkey ) {
fputs(hotattrib, stdout);
putchar(*p++);
fputs(attrib, stdout);