From: marc.bessieres@mykolab.com Subject: riched20/tests: use SendMessageA with char buffer(valgrind) Message-Id: <1416860389-3356-1-git-send-email-marc.bessieres@mykolab.com> Date: Mon, 24 Nov 2014 21:19:49 +0100 From: Marc Bessières fixes: https://bugs.winehq.org/show_bug.cgi?id=37159 it is a copy paste from dafd6fecd1dc5cd07e8bcbcbd2acff3798406eb9 where both test_EM_FINDWORDBREAK_W and test_EM_FINDWORDBREAK_A were introduced. --- dlls/riched20/tests/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index 244f065..101aec0 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -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 -- 2.1.2