gdi32/tests: Make use of todo_wine_if().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-08-05 16:00:51 +02:00 committed by Alexandre Julliard
parent 12f8274539
commit 68f1df237a
1 changed files with 2 additions and 7 deletions

View File

@ -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);