Fix Key_StringToKeynum to return lowercased ascii

Fixes bind and unbind uppercase ascii and uppercase ascii in cl_consoleKeys.

keycodes.h states "normal keys should be passed as lowercased ascii"
This commit is contained in:
Zack Middleton 2013-03-03 19:07:44 -06:00
parent db68f59281
commit a18ae32a5e

View file

@ -800,7 +800,7 @@ int Key_StringToKeynum( char *str ) {
return -1; return -1;
} }
if ( !str[1] ) { if ( !str[1] ) {
return str[0]; return tolower( str[0] );
} }
// check for hex code // check for hex code