Rémi Bernon : user32/tests: Tweak window size to fix Win10 results.

Alexandre Julliard julliard at winehq.org
Mon Jan 31 15:55:19 CST 2022


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Mon Jan 31 14:18:06 2022 +0100

user32/tests: Tweak window size to fix Win10 results.

Fix these failures:

> win.c:2445: Test failed: style 0x200000: expected !100
> win.c:2445: Test failed: style 0x300000: expected !100

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 273dc8bd8ed..4c0bd430180 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -2249,7 +2249,7 @@ static void test_mdi(void)
     mdi_hwndMain = CreateWindowExA(0, "MDI_parent_Class", "MDI parent window",
                                    WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX |
                                    WS_MAXIMIZEBOX /*| WS_VISIBLE*/,
-                                   100, 100, CW_USEDEFAULT, CW_USEDEFAULT,
+                                   200, 100, CW_USEDEFAULT, CW_USEDEFAULT,
                                    GetDesktopWindow(), 0,
                                    GetModuleHandleA(NULL), NULL);
     assert(mdi_hwndMain);




More information about the wine-cvs mailing list