Module: wine Branch: master Commit: 9fa27034a0c2056134182b4ffe7dee7aee5cceac URL: http://source.winehq.org/git/wine.git/?a=commit;h=9fa27034a0c2056134182b4ffe...
Author: Kusanagi Kouichi slash@ma.neweb.ne.jp Date: Sat Apr 26 06:48:15 2008 +0900
winex11: hCompStr should never be NULL because Wine expects it is not NULL.
---
dlls/winex11.drv/ime.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/ime.c b/dlls/winex11.drv/ime.c index f50549f..5d36612 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)