riched20/tests: Use SendMessageA with char buffer (Valgrind).

This commit is contained in:
Marc Bessières 2014-11-24 21:19:49 +01:00 committed by Alexandre Julliard
parent bf70fe3611
commit 85ca920d94
1 changed files with 1 additions and 1 deletions

View File

@ -7379,7 +7379,7 @@ static void test_EM_FINDWORDBREAK_A(void)
char buf[2];
buf[0] = delimiter_tests[i].c;
buf[1] = 0;
SendMessageW(hwndRichEdit, WM_SETTEXT, 0, (LPARAM)buf);
SendMessageA(hwndRichEdit, WM_SETTEXT, 0, (LPARAM)buf);
result = SendMessageA(hwndRichEdit, EM_FINDWORDBREAK, WB_ISDELIMITER, 0);
if (buf[0] == 0x20)
todo_wine