Simple menu: F-key config was accidentally case sensitive
authorH. Peter Anvin <hpa@zytor.com>
Sat, 16 Jun 2007 05:29:35 +0000 (22:29 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 16 Jun 2007 05:29:35 +0000 (22:29 -0700)
com32/modules/readconfig.c

index 1046bbc..21bbc80 100644 (file)
@@ -446,7 +446,7 @@ static char *is_fkey(char *cmdstr, int *fkeyno)
   char *q;
   int no;
 
-  if (cmdstr[0] != 'f')
+  if ((cmdstr[0]|0x20) != 'f')
     return NULL;
 
   no = strtoul(cmdstr+1, &q, 10);