[PATCH v2 1/5] user32/tests: Fix indentation to silence a warning.

Rémi Bernon wine at gitlab.winehq.org
Wed Jun 1 13:10:21 CDT 2022


From: Rémi Bernon <rbernon at codeweavers.com>

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/user32/tests/msg.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 2705914d5e5..235724a5ff9 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -14089,9 +14089,11 @@ static void test_ShowWindow(void)
         ok(wp.ptMaxPosition.x == sw[i].wp_max.x && wp.ptMaxPosition.y == sw[i].wp_max.y,
            "expected %ld,%ld got %ld,%ld\n", sw[i].wp_max.x, sw[i].wp_max.y, wp.ptMaxPosition.x, wp.ptMaxPosition.y);
 
-if (0) /* FIXME: Wine behaves completely different here */
-        ok(EqualRect(&win_rc, &wp.rcNormalPosition), "expected %s got %s\n",
-           wine_dbgstr_rect(&win_rc), wine_dbgstr_rect(&wp.rcNormalPosition));
+        if (0) /* FIXME: Wine behaves completely different here */
+        {
+            ok(EqualRect(&win_rc, &wp.rcNormalPosition), "expected %s got %s\n",
+               wine_dbgstr_rect(&win_rc), wine_dbgstr_rect(&wp.rcNormalPosition));
+        }
     }
     DestroyWindow(hwnd);
     flush_events();
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/169



More information about the wine-devel mailing list