mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-02-07 14:21:01 +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;
|
return -1;
|
||||||
}
|
}
|
||||||
if ( !str[1] ) {
|
if ( !str[1] ) {
|
||||||
return str[0];
|
return tolower( str[0] );
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for hex code
|
// check for hex code
|
||||||
|
|
Loading…
Reference in a new issue