Vincent Povirk : gdiplus: Print the GdipGetFamilyName FIXME only once.
Alexandre Julliard
julliard at winehq.org
Fri Apr 9 11:49:58 CDT 2010
Module: wine
Branch: master
Commit: 541d7a5ab2627fbb4f83fd97eaa57160af7a1705
URL: http://source.winehq.org/git/wine.git/?a=commit;h=541d7a5ab2627fbb4f83fd97eaa57160af7a1705
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri Apr 9 10:34:52 2010 -0500
gdiplus: Print the GdipGetFamilyName FIXME only once.
---
dlls/gdiplus/font.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c
index 6e58f98..37cca71 100644
--- a/dlls/gdiplus/font.c
+++ b/dlls/gdiplus/font.c
@@ -643,12 +643,14 @@ GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily* FontFamily, GpFontFamily**
GpStatus WINGDIPAPI GdipGetFamilyName (GDIPCONST GpFontFamily *family,
WCHAR *name, LANGID language)
{
+ static int lang_fixme;
+
if (family == NULL)
return InvalidParameter;
TRACE("%p, %p, %d\n", family, name, language);
- if (language != LANG_NEUTRAL)
+ if (language != LANG_NEUTRAL && !lang_fixme++)
FIXME("No support for handling of multiple languages!\n");
lstrcpynW (name, family->FamilyName, LF_FACESIZE);
More information about the wine-cvs
mailing list