mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
finetuning of r736 & 738
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@740 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ba5856c2fb
commit
5c7187f96d
1 changed files with 2 additions and 1 deletions
|
@ -374,8 +374,9 @@ void IN_SendKeyEvents (void)
|
|||
if ((event.key.keysym.unicode & 0xFF80) == 0)
|
||||
{
|
||||
usym = event.key.keysym.unicode & 0x7F;
|
||||
if (sym >= 32 && usym < 32 && modstate & KMOD_CTRL)
|
||||
if (modstate & KMOD_CTRL && usym < 32 && sym >= 32)
|
||||
{
|
||||
/* control characters */
|
||||
if (modstate & KMOD_SHIFT)
|
||||
usym += 64;
|
||||
else usym += 96;
|
||||
|
|
Loading…
Reference in a new issue