From 7801b692cbac84386707b26a8bc5c389f449c025 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 4 Dec 2008 12:13:21 +0100 Subject: [PATCH] imm32/tests: Don't use a pointer in an ok test. --- dlls/imm32/tests/imm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c index f56437c290b..ce736390bbf 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; -- 2.11.4.GIT