Index: code/client/cl_keys.c =================================================================== --- code/client/cl_keys.c (revision 908) +++ code/client/cl_keys.c (working copy) @@ -701,7 +701,7 @@ } // check for hex code - if ( str[0] == '0' && str[1] == 'x' && strlen( str ) == 4) { + if ( str[0] == '0' && (tolower(str[1]) == 'x') && strlen( str ) == 4) { int n1, n2; n1 = str[2];