mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry
Timoshkov).
This commit is contained in:
parent
f8aa3b506c
commit
a52b2777b2
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ void X11DRV_InitKeyboard( BYTE *key_state_table )
|
|||
int maxlen=0,maxval=-1,ok;
|
||||
for (i=0; i<syms; i++) {
|
||||
keysym = XKeycodeToKeysym(display, keyc, i);
|
||||
if ((keysym<0x800) && (keysym!=' '))
|
||||
if ((keysym<0x8000) && (keysym!=' '))
|
||||
{
|
||||
#ifdef HAVE_XKB
|
||||
if (!is_xkb || !XkbTranslateKeySym(display, &keysym, 0, &ckey[i], 1, NULL))
|
||||
|
|
Loading…
Reference in a new issue