mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Since EDuke32 can't display properly Chinese and Russian fonts, it will try to use English key names when possible. git-svn-id: https://svn.eduke32.com/eduke32@1009 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b7760a5674
commit
f75fd4cb31
1 changed files with 5 additions and 0 deletions
|
@ -1398,6 +1398,11 @@ static void GetKeyNames(void)
|
|||
|
||||
CharToOem(key.tszName, tbuf);
|
||||
strncpy((char *)keynames[i], tbuf, sizeof(keynames[i])-1);
|
||||
|
||||
tbuf[0] = 0;
|
||||
GetKeyNameText((i>128?(i+128):i)<<16, tbuf, sizeof(keynames[i])-1);
|
||||
// initprintf("%d %15s %15s\n",i,keynames[i],tbuf);
|
||||
if(*tbuf)strncpy((char *)keynames[i], tbuf, sizeof(keynames[i])-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue