Commit 75e4e607 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent 7a87c8ac
......@@ -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);
......
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