winex11: hCompStr should never be NULL because Wine expects it is not NULL.
This commit is contained in:
parent
5873bac95d
commit
9fa27034a0
|
@ -776,10 +776,8 @@ BOOL WINAPI NotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
|
||||||
X11DRV_ForceXIMReset(lpIMC->hWnd);
|
X11DRV_ForceXIMReset(lpIMC->hWnd);
|
||||||
|
|
||||||
if (lpIMC->hCompStr)
|
if (lpIMC->hCompStr)
|
||||||
{
|
|
||||||
ImmDestroyIMCC(lpIMC->hCompStr);
|
ImmDestroyIMCC(lpIMC->hCompStr);
|
||||||
lpIMC->hCompStr = NULL;
|
lpIMC->hCompStr = ImeCreateBlankCompStr();
|
||||||
}
|
|
||||||
|
|
||||||
myPrivate = (LPIMEPRIVATE)ImmLockIMCC(lpIMC->hPrivate);
|
myPrivate = (LPIMEPRIVATE)ImmLockIMCC(lpIMC->hPrivate);
|
||||||
if (myPrivate->bInComposition)
|
if (myPrivate->bInComposition)
|
||||||
|
|
Loading…
Reference in New Issue