Michael Stefaniuc : imm32: Use a simpler comparison of a pointer with NULL.
Alexandre Julliard
julliard at winehq.org
Mon May 25 10:06:29 CDT 2009
Module: wine
Branch: master
Commit: f8c545fa97268574ec15fecc7d13f8ee089269b9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8c545fa97268574ec15fecc7d13f8ee089269b9
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri May 22 22:23:17 2009 +0200
imm32: Use a simpler comparison of a pointer with NULL.
---
dlls/imm32/imm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index c7d170c..cb97ecd 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -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;
}
More information about the wine-cvs
mailing list