From 470f7b20d468a846f9154450cf2a8000163d5534 Mon Sep 17 00:00:00 2001 From: Sven Baars Date: Sun, 16 Sep 2018 22:07:28 +0200 Subject: [PATCH] user32/tests: Use the correct procedure for dialog tests (Valgrind). Signed-off-by: Sven Baars Signed-off-by: Alexandre Julliard --- dlls/user32/tests/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/class.c b/dlls/user32/tests/class.c index 53fa2f12e3a..5db37d4a9ad 100644 --- a/dlls/user32/tests/class.c +++ b/dlls/user32/tests/class.c @@ -877,7 +877,7 @@ static void test_builtinproc(void) static LRESULT WINAPI TestDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { - return DefWindowProcA(hWnd, uMsg, wParam, lParam); + return DefDlgProcA(hWnd, uMsg, wParam, lParam); } static BOOL RegisterTestDialog(HINSTANCE hInstance)