[PATCH] user32/tests: Use the correct procedure for dialog tests (Valgrind)
Sven Baars
sven.wine at gmail.com
Sun Sep 16 15:07:28 CDT 2018
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
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 53fa2f12e3..5db37d4a9a 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)
--
2.17.1
More information about the wine-devel
mailing list