imm32: Use a simpler comparison of a pointer with NULL.

This commit is contained in:
Michael Stefaniuc 2009-05-22 22:23:17 +02:00 committed by Alexandre Julliard
parent 6117ea47b3
commit f8c545fa97

View File

@ -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;
}