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

This commit is contained in:
Austin English 2011-02-08 16:04:12 -08:00 committed by Alexandre Julliard
parent 7a87c8ac45
commit 75e4e607c6
1 changed files with 1 additions and 1 deletions

View File

@ -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);