riched20/tests: make sure return value is used (LLVM/Clang)

Austin English austinenglish at gmail.com
Tue Feb 8 18:04:12 CST 2011


https://testbot.winehq.org/JobDetails.pl?Key=8958
https://testbot.winehq.org/JobDetails.pl?Key=8959

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 9456cde..a91d984 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -6087,7 +6087,7 @@ static void test_EM_CHARFROMPOS(void)
     hwnd = new_richedit(NULL);
     result = SendMessageA(hwnd, WM_SETTEXT, 0,
                           (LPARAM)"one two three four five six seven\reight");
-
+    ok(result == 1, "Expected 1, got %d", result);
     GetClientRect(hwnd, &rcClient);
 
     result = SendMessage(hwnd, EM_CHARFROMPOS, 0, (LPARAM)&point);


More information about the wine-patches mailing list