user32: ToUnicodeEx should return 0 for an unknown key.
This commit is contained in:
parent
fd2d43f131
commit
671e9c0658
|
@ -2401,7 +2401,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
|||
{
|
||||
WARN("Unknown virtual key %X !!!\n", virtKey);
|
||||
wine_tsx11_unlock();
|
||||
return virtKey; /* whatever */
|
||||
return 0;
|
||||
}
|
||||
else TRACE("Found keycode %d (0x%2X)\n",e.keycode,e.keycode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue