[PATCH 01/12] dlls/comctl32/tests: don't outdent todo_wine*

Eric Pouech eric.pouech at gmail.com
Mon Feb 21 01:07:21 CST 2022


This prevents -Wmisleading-indentation warnings (Mingw GCC11)

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list