[PATCH] dlls/dwrite/tests: don't outdent todo_wine (generated mingw GCC11 warnings)

Dmitry Timoshkov dmitry at baikal.ru
Wed Apr 6 03:26:19 CDT 2022


Hi Eric,

Eric Pouech <eric.pouech at gmail.com> wrote:

> Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
> 
> ---
>  dlls/dwrite/tests/layout.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
> index 43b6efa107b..c3445550650 100644
> --- a/dlls/dwrite/tests/layout.c
> +++ b/dlls/dwrite/tests/layout.c
> @@ -4805,19 +4805,19 @@ static void test_system_fallback(void)
>          g_source = tests[i].text;
>          hr = IDWriteFontFallback_MapCharacters(fallback, &analysissource, 0, 1, NULL, NULL, DWRITE_FONT_WEIGHT_NORMAL,
>                  DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_STRETCH_NORMAL, &length, &font, &scale);
> -    todo_wine
> +        todo_wine
>          ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
>          if (hr != S_OK) continue;
>          ok(length == 1, "Unexpected length %u\n", length);
>          ok(scale == 1.0f, "got %f\n", scale);
>  
>          get_font_name(font, name, ARRAY_SIZE(name));
> -    todo_wine
> +        todo_wine
>          ok(!wcscmp(name, tests[i].name), "%u: unexpected name %s.\n", i, wine_dbgstr_w(name));
>  
>          hr = IDWriteFont_HasCharacter(font, g_source[0], &exists);
>          ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
> -    todo_wine
> +        todo_wine
>          ok(exists, "%s missing character %#x\n", wine_dbgstr_w(name), g_source[0]);
>  
>          IDWriteFont_Release(font);
> 
> 

I sent a patch that adds Segoe UI Symbol font replacement and removes these todos.

-- 
Dmitry.



More information about the wine-devel mailing list