gdiplus: Print the GdipGetFamilyName FIXME only once.
This commit is contained in:
parent
9a4618a4ba
commit
541d7a5ab2
|
@ -643,12 +643,14 @@ GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily* FontFamily, GpFontFamily**
|
||||||
GpStatus WINGDIPAPI GdipGetFamilyName (GDIPCONST GpFontFamily *family,
|
GpStatus WINGDIPAPI GdipGetFamilyName (GDIPCONST GpFontFamily *family,
|
||||||
WCHAR *name, LANGID language)
|
WCHAR *name, LANGID language)
|
||||||
{
|
{
|
||||||
|
static int lang_fixme;
|
||||||
|
|
||||||
if (family == NULL)
|
if (family == NULL)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
TRACE("%p, %p, %d\n", family, name, language);
|
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");
|
FIXME("No support for handling of multiple languages!\n");
|
||||||
|
|
||||||
lstrcpynW (name, family->FamilyName, LF_FACESIZE);
|
lstrcpynW (name, family->FamilyName, LF_FACESIZE);
|
||||||
|
|
Loading…
Reference in New Issue