mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[IMM32] ImmTranslateMessage: Minor fix
CORE-11700
This commit is contained in:
parent
4af3372c23
commit
378d0e814c
1 changed files with 11 additions and 1 deletions
|
@ -1093,7 +1093,17 @@ BOOL WINAPI ImmTranslateMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lKeyD
|
|||
wChar = 0;
|
||||
kret = ToAsciiEx(vk, HIWORD(lKeyData), abKeyState, &wChar, 0, hKL);
|
||||
if (kret > 0)
|
||||
vk = MAKEWORD(vk, wChar);
|
||||
{
|
||||
if ((BYTE)vk == VK_PACKET)
|
||||
{
|
||||
vk &= 0xFF;
|
||||
vk |= (wChar << 8);
|
||||
}
|
||||
else
|
||||
{
|
||||
vk = MAKEWORD(vk, wChar);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue