From 9fa27034a0c2056134182b4ffe7dee7aee5cceac Mon Sep 17 00:00:00 2001 From: Kusanagi Kouichi Date: Sat, 26 Apr 2008 06:48:15 +0900 Subject: [PATCH] winex11: hCompStr should never be NULL because Wine expects it is not NULL. --- dlls/winex11.drv/ime.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/winex11.drv/ime.c b/dlls/winex11.drv/ime.c index f50549fcfc3..5d366129f29 100644 --- a/dlls/winex11.drv/ime.c +++ b/dlls/winex11.drv/ime.c @@ -776,10 +776,8 @@ BOOL WINAPI NotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue) X11DRV_ForceXIMReset(lpIMC->hWnd); if (lpIMC->hCompStr) - { ImmDestroyIMCC(lpIMC->hCompStr); - lpIMC->hCompStr = NULL; - } + lpIMC->hCompStr = ImeCreateBlankCompStr(); myPrivate = (LPIMEPRIVATE)ImmLockIMCC(lpIMC->hPrivate); if (myPrivate->bInComposition)