mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Amend r7993
git-svn-id: https://svn.eduke32.com/eduke32@7996 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
446186d49a
commit
addc919636
1 changed files with 2 additions and 1 deletions
|
@ -1131,7 +1131,8 @@ void CONFIG_WriteSetup(uint32_t flags)
|
|||
|
||||
char const * CONFIG_GetGameFuncOnKeyboard(int gameFunc)
|
||||
{
|
||||
return KB_ScanCodeToString(ud.config.KeyboardKeys[gameFunc][0]);
|
||||
const char * string0 = KB_ScanCodeToString(ud.config.KeyboardKeys[gameFunc][0]);
|
||||
return string0[0] == '\0' ? KB_ScanCodeToString(ud.config.KeyboardKeys[gameFunc][1]) : string0;
|
||||
}
|
||||
|
||||
char const * CONFIG_GetGameFuncOnMouse(int gameFunc)
|
||||
|
|
Loading…
Reference in a new issue