Rémi Bernon : imm32: Pass the HIMC to the IME UI window IMMGWL_IMC.
Module: wine Branch: master Commit: e64e4e7461c91039cb019a12880c0d6b31734772 URL: https://gitlab.winehq.org/wine/wine/-/commit/e64e4e7461c91039cb019a12880c0d6... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Thu Mar 30 09:50:36 2023 +0200 imm32: Pass the HIMC to the IME UI window IMMGWL_IMC. Instead of the imc pointer. --- dlls/imm32/imm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 4cbdceeb9d9..9b3dfc00eae 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -2603,7 +2603,7 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen) if (NtUserQueryInputContext( hIMC, NtUserInputContextThreadId ) != GetCurrentThreadId()) return FALSE; - if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)data ); + if ((ui_hwnd = get_ime_ui_window())) SetWindowLongPtrW( ui_hwnd, IMMGWL_IMC, (LONG_PTR)hIMC ); if (!fOpen != !data->IMC.fOpen) {
participants (1)
-
Alexandre Julliard