Commit 8660d5e7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

riched20/tests: Check the correct return value.

parent 8d73c163
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment