gdiplus: Don't accept MS Sans Serif as the generic sans serif font.

This commit is contained in:
Vincent Povirk 2009-09-04 16:54:00 -05:00 committed by Alexandre Julliard
parent 0acfffc17b
commit 377b73d022
1 changed files with 2 additions and 3 deletions

View File

@ -294,9 +294,8 @@ static void test_getgenerics (void)
expect (Ok, stat);
stat = GdipGetFamilyName (family, familyName, LANG_NEUTRAL);
expect (Ok, stat);
ok ((lstrcmpiW(familyName, MicrosoftSansSerif) == 0) ||
(lstrcmpiW(familyName,MSSansSerif) == 0),
"Expected Microsoft Sans Serif or MS Sans Serif, got %s\n",
todo_wine ok ((lstrcmpiW(familyName, MicrosoftSansSerif) == 0),
"Expected Microsoft Sans Serif, got %s\n",
wine_dbgstr_w(familyName));
stat = GdipDeleteFontFamily (family);
expect (Ok, stat);