Sven Baars : user32/tests: Use the correct procedure for dialog tests ( Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Sep 17 15:02:26 CDT 2018


Module: wine
Branch: master
Commit: 470f7b20d468a846f9154450cf2a8000163d5534
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=470f7b20d468a846f9154450cf2a8000163d5534

Author: Sven Baars <sven.wine at gmail.com>
Date:   Sun Sep 16 22:07:28 2018 +0200

user32/tests: Use the correct procedure for dialog tests (Valgrind).

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 53fa2f1..5db37d4a 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)




More information about the wine-cvs mailing list