From: Yuxuan Shui yshui@codeweavers.com
testtext might be passed to DefWindowProcW in test_aw_conversion_dlgprocA, so it must have a WCHAR null at the end. --- dlls/user32/tests/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c index 7ea0d13c0f3..d77af346c68 100644 --- a/dlls/user32/tests/dialog.c +++ b/dlls/user32/tests/dialog.c @@ -1456,7 +1456,7 @@ static INT_PTR CALLBACK TestControlStyleDlgProc(HWND hdlg, UINT msg, }
static const WCHAR testtextW[] = {'W','n','d','T','e','x','t',0}; -static const char *testtext = "WndText"; +static const char *testtext = "WndText\0\0";
enum defdlgproc_text {