Eric Pouech : comctl32/tests: Don't outdent todo_wine*.

Alexandre Julliard julliard at winehq.org
Mon Feb 21 16:15:13 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb 21 08:07:21 2022 +0100

comctl32/tests: Don't outdent todo_wine*.

This prevents -Wmisleading-indentation warnings (Mingw GCC11).

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/static.c  | 4 ++--
 dlls/comctl32/tests/toolbar.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/comctl32/tests/static.c b/dlls/comctl32/tests/static.c
index 9bd22408985..0038cadd7d2 100644
--- a/dlls/comctl32/tests/static.c
+++ b/dlls/comctl32/tests/static.c
@@ -165,7 +165,7 @@ static void test_image(HBITMAP image, BOOL is_dib, BOOL is_premult, BOOL is_alph
         ok(bm.bmBits != NULL, "bmBits is NULL\n");
         memcpy(bits, bm.bmBits, 4);
         if (is_premult)
-todo_wine
+            todo_wine
             ok(bits[0] == 0x05 &&  bits[1] == 0x09 &&  bits[2] == 0x0e && bits[3] == 0x44,
                "bits: %02x %02x %02x %02x\n", bits[0], bits[1], bits[2], bits[3]);
         else if (is_alpha)
@@ -195,7 +195,7 @@ todo_wine
     DeleteDC(hdc);
 
     if (is_premult)
-todo_wine
+        todo_wine
         ok(bits[0] == 0x05 &&  bits[1] == 0x09 &&  bits[2] == 0x0e && bits[3] == 0x44,
            "bits: %02x %02x %02x %02x\n", bits[0], bits[1], bits[2], bits[3]);
     else if (is_alpha)
diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index cfe4f16f430..dcd95ffa4d8 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -2728,7 +2728,7 @@ static void test_BTNS_SEP(void)
     memset(&button, 0, sizeof(button));
     ret = SendMessageA(hwnd, TB_GETBUTTON, 0, (LPARAM)&button);
     ok(ret == 1, "Unexpected return value.\n");
-todo_wine
+    todo_wine
     ok(button.iBitmap == 8, "Unexpected iBitmap value %d.\n", button.iBitmap);
 
     rebuild_toolbar(&hwnd);
@@ -2789,7 +2789,7 @@ todo_wine
     memset(&button, 0, sizeof(button));
     ret = SendMessageA(hwnd, TB_GETBUTTON, 0, (LPARAM)&button);
     ok(ret == 1, "Unexpected return value.\n");
-todo_wine
+    todo_wine
     ok(button.iBitmap == 8, "Unexpected iBitmap value %d.\n", button.iBitmap);
 
     DestroyWindow(hwnd);




More information about the wine-cvs mailing list