gdiplus: Don't accept MS Sans Serif as the generic sans serif font.
This commit is contained in:
parent
0acfffc17b
commit
377b73d022
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue