imm: Fix switching to Chinese IEM after typing some English will fail

黄巍 gzhuangwei at corp.netease.com
Mon Nov 3 20:52:57 CST 2014


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;
 
-- 
1.9.3 (Apple Git-50)





More information about the wine-patches mailing list