Commit f8c545fa authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 6117ea47
...@@ -528,7 +528,7 @@ BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags) ...@@ -528,7 +528,7 @@ BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
} }
else if (dwFlags == IACE_IGNORENOCONTEXT) else if (dwFlags == IACE_IGNORENOCONTEXT)
{ {
if (GetPropW(hWnd,szwWineIMCProperty) > 0) if (GetPropW(hWnd,szwWineIMCProperty))
ImmAssociateContext(hWnd,hIMC); ImmAssociateContext(hWnd,hIMC);
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment