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

Alexandre Julliard julliard at winehq.org
Tue Feb 22 16:06:49 CST 2022


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

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

dwrite/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: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/tests/font.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index 10722fee444..bb70c6f2320 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -8697,7 +8697,7 @@ static void test_ComputeGlyphOrigins(void)
         ok(hr == S_OK, "%u: failed to compute glyph origins, hr %#x.\n", i, hr);
         for (j = 0; j < run.glyphCount; ++j)
         {
-        todo_wine_if(run.isSideways)
+            todo_wine_if(run.isSideways)
             ok(!memcmp(&origins[j], &expected_origins[j], sizeof(origins[j])),
                     "%u: unexpected origin[%u] (%f, %f) - (%f, %f).\n", i, j, origins[j].x, origins[j].y,
                     expected_origins[j].x, expected_origins[j].y);
@@ -9778,7 +9778,7 @@ static void test_fontsetbuilder(void)
                 if (id == DWRITE_FONT_PROPERTY_ID_WEIGHT || id == DWRITE_FONT_PROPERTY_ID_STRETCH
                         || id == DWRITE_FONT_PROPERTY_ID_STYLE)
                 {
-                todo_wine
+                    todo_wine
                     ok(exists, "Property %u expected to exist.\n", id);
                 }
 




More information about the wine-cvs mailing list