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); expect (Ok, stat);
stat = GdipGetFamilyName (family, familyName, LANG_NEUTRAL); stat = GdipGetFamilyName (family, familyName, LANG_NEUTRAL);
expect (Ok, stat); expect (Ok, stat);
ok ((lstrcmpiW(familyName, MicrosoftSansSerif) == 0) || todo_wine ok ((lstrcmpiW(familyName, MicrosoftSansSerif) == 0),
(lstrcmpiW(familyName,MSSansSerif) == 0), "Expected Microsoft Sans Serif, got %s\n",
"Expected Microsoft Sans Serif or MS Sans Serif, got %s\n",
wine_dbgstr_w(familyName)); wine_dbgstr_w(familyName));
stat = GdipDeleteFontFamily (family); stat = GdipDeleteFontFamily (family);
expect (Ok, stat); expect (Ok, stat);