mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
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:
parent
db68f59281
commit
a18ae32a5e
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ int Key_StringToKeynum( char *str ) {
|
|||
return -1;
|
||||
}
|
||||
if ( !str[1] ) {
|
||||
return str[0];
|
||||
return tolower( str[0] );
|
||||
}
|
||||
|
||||
// check for hex code
|
||||
|
|
Loading…
Reference in a new issue