Module: wine Branch: master Commit: 377b73d022dd9524f552334c7e6ed817137797c2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=377b73d022dd9524f552334c7e...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Sep 4 16:54:00 2009 -0500
gdiplus: Don't accept MS Sans Serif as the generic sans serif font.
---
dlls/gdiplus/tests/font.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c index 9b0ab16..3134ffc 100644 --- a/dlls/gdiplus/tests/font.c +++ b/dlls/gdiplus/tests/font.c @@ -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);