From fc275332da4d84e5653ab7ed3fa97bea2ec6bea9 Mon Sep 17 00:00:00 2001 From: hpa Date: Wed, 6 Apr 2005 09:53:28 +0000 Subject: [PATCH] Precedence fix --- com32/modules/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/modules/menu.c b/com32/modules/menu.c index 92872e3..19d17b5 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 & ~0x20 == entry->hotkey ) { + if ( *p && ((unsigned char)*p & ~0x20) == entry->hotkey ) { fputs(hotattrib, stdout); putchar(*p++); fputs(attrib, stdout); -- 2.7.4