Module: wine Branch: master Commit: 7801b692cbac84386707b26a8bc5c389f449c025 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7801b692cbac84386707b26a8b...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Dec 4 12:13:21 2008 +0100
imm32/tests: Don't use a pointer in an ok test.
---
dlls/imm32/tests/imm32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c index f56437c..ce73639 100644 --- a/dlls/imm32/tests/imm32.c +++ b/dlls/imm32/tests/imm32.c @@ -258,7 +258,7 @@ static void test_ImmSetCompositionString(void)
SetLastError(0xdeadbeef); imc = ImmGetContext(hwnd); - ok(imc, "ImmGetContext() failed. Last error: %u\n", GetLastError()); + ok(imc != 0, "ImmGetContext() failed. Last error: %u\n", GetLastError()); if (!imc) return;