imm32: Mask the scancode before passing it to ImeToAsciiEx.
This commit is contained in:
parent
961e01e517
commit
f522c58ce6
2 changed files with 1 additions and 2 deletions
|
@ -3099,7 +3099,7 @@ BOOL WINAPI ImmTranslateMessage( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar
|
|||
if ((vkey = data->vkey) == VK_PROCESSKEY) return FALSE;
|
||||
data->vkey = VK_PROCESSKEY;
|
||||
GetKeyboardState( state );
|
||||
scan = lparam >> 0x10;
|
||||
scan = (lparam >> 0x10) & 0xffff;
|
||||
|
||||
if (ime->info.fdwProperty & IME_PROP_KBD_CHAR_FIRST)
|
||||
{
|
||||
|
|
|
@ -7044,7 +7044,6 @@ static void test_ImmTranslateMessage( BOOL kbd_char_first )
|
|||
.hkl = expect_ime, .himc = default_himc, .func = IME_TO_ASCII_EX,
|
||||
/* FIXME what happened to kbd_char_first here!? */
|
||||
.to_ascii_ex = {.vkey = 'Q', .vsc = 0xc010},
|
||||
.todo_value = TRUE,
|
||||
},
|
||||
{0},
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue