imm: Fix switching to Chinese IEM after typing some English will fail
Aric Stewart
aric at codeweavers.com
Tue Nov 4 06:53:25 CST 2014
On 11/3/14, 8:52 PM, 黄巍 wrote:
> Bug 35896 - Switching to Chinese input method after typing some English will fail.
> https://bugs.winehq.org/show_bug.cgi?id=35896
>
> ---
> dlls/imm32/imm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
> index 7ed1fe6..47c7ea8 100644
> --- a/dlls/imm32/imm.c
> +++ b/dlls/imm32/imm.c
> @@ -2901,6 +2901,8 @@ BOOL WINAPI ImmProcessKey(HWND hwnd, HKL hKL, UINT vKey, LPARAM lKeyData, DWORD
> else
> return FALSE;
>
> + data->immKbd = IMM_GetImmHkl(hKL);
> +
> if (!data->immKbd->hIME || !data->immKbd->pImeProcessKey)
> return FALSE;
>
>
I recently made a fix to this area of a bug very similar to the one your reported.
Have you tested with the most recent development build without your patch to see if it was already fixed?
I feel like your change should be unnecessary after my modification.
-aric
More information about the wine-devel
mailing list