winex11: hCompStr should never be NULL because Wine expects it is not NULL.

This commit is contained in:
Kusanagi Kouichi 2008-04-26 06:48:15 +09:00 committed by Alexandre Julliard
parent 5873bac95d
commit 9fa27034a0
1 changed files with 1 additions and 3 deletions

View File

@ -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)