riched20/tests: Check the correct return value.
Michael Stefaniuc
mstefani at redhat.de
Fri May 25 04:35:10 CDT 2012
---
dlls/riched20/tests/editor.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index f6db413..1ca221d 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -2440,10 +2440,9 @@ static void test_EM_SCROLL(void)
y_before, y_after);
y_before = SendMessage(hwndRichEdit, EM_GETFIRSTVISIBLELINE, 0, 0);
- SendMessage(hwndRichEdit, EM_SCROLL,
- SB_LINEDOWN, 0); /* line down beyond bot */
+ r = SendMessage(hwndRichEdit, EM_SCROLL, SB_LINEDOWN, 0); /* line down beyond bot */
y_after = SendMessage(hwndRichEdit, EM_GETFIRSTVISIBLELINE, 0, 0);
-
+
ok(r == 0x00010000,
"EM_SCROLL line down returned indicating movement (0x%08x)\n", r);
ok(y_before == y_after,
--
1.7.7.6
More information about the wine-patches
mailing list