imm32: Use a simpler comparison of a pointer with NULL.
This commit is contained in:
parent
6117ea47b3
commit
f8c545fa97
|
@ -528,7 +528,7 @@ BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
|
|||
}
|
||||
else if (dwFlags == IACE_IGNORENOCONTEXT)
|
||||
{
|
||||
if (GetPropW(hWnd,szwWineIMCProperty) > 0)
|
||||
if (GetPropW(hWnd,szwWineIMCProperty))
|
||||
ImmAssociateContext(hWnd,hIMC);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue