From 68f1df237a73559a4fdd6babae16706873f1dc68 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 5 Aug 2016 16:00:51 +0200 Subject: [PATCH] gdi32/tests: Make use of todo_wine_if(). Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/gdi32/tests/font.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 373d2a157cd..96c4623dca9 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -2952,13 +2952,8 @@ static void test_EnumFontFamilies(const char *font_name, INT font_charset) ok(!efd.total, "no fonts should be enumerated for empty font_name\n"); for (i = 0; i < efd.total; i++) { -/* FIXME: remove completely once Wine is fixed */ -if (efd.lf[i].lfCharSet != font_charset) -{ -todo_wine - ok(efd.lf[i].lfCharSet == font_charset, "%d: got charset %d\n", i, efd.lf[i].lfCharSet); -} -else + /* FIXME: remove completely once Wine is fixed */ + todo_wine_if(efd.lf[i].lfCharSet != font_charset) ok(efd.lf[i].lfCharSet == font_charset, "%d: got charset %d\n", i, efd.lf[i].lfCharSet); ok(!strcmp(efd.lf[i].lfFaceName, font_name), "expected %s, got %s\n", font_name, efd.lf[i].lfFaceName);