Michael Stefaniuc : riched20/tests: Check the correct return value.

Alexandre Julliard julliard at winehq.org
Fri May 25 10:52:48 CDT 2012


Module: wine
Branch: master
Commit: 8660d5e77f667d0590ced84ece6d554a95859427
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8660d5e77f667d0590ced84ece6d554a95859427

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri May 25 11:35:10 2012 +0200

riched20/tests: Check the correct return value.

---

 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,




More information about the wine-cvs mailing list