Simplify code in dlls/imm32/tests/imm32.c

Gerald Pfeifer gerald at pfeifer.com
Fri Jun 19 12:03:28 CDT 2009


Not sure how to else handle this; possibly remove this whole subtest?

Gerald

ChangeLog:
Simplify code in dlls/imm32/tests/imm32.c (and avoid false warning).

diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c
index 1951242..3e35ac1 100644
--- a/dlls/imm32/tests/imm32.c
+++ b/dlls/imm32/tests/imm32.c
@@ -210,7 +210,7 @@ static void test_ImmNotifyIME(void) {
 
     /* behavior differs between win9x and NT */
     ret = ImmGetCompositionString(imc, GCS_COMPSTR, resstr, sizeof(resstr));
-    ok(ret || !ret, "You'll never read this.\n");
+    ok(TRUE, "You'll never read this.\n");
 
     msg_spy_flush_msgs();
 



More information about the wine-patches mailing list