diff options
Diffstat (limited to 'xml')
-rw-r--r-- | xml/object.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xml/object.c b/xml/object.c index 73d8a26..3979384 100644 --- a/xml/object.c +++ b/xml/object.c @@ -148,14 +148,14 @@ const cFont *cxObject::Font(void) const if (UseTTF) { - if ((font = cText2SkinFont::Load(SkinPath() + "/fonts", mFontFace, mFontSize, mFontWidth)) - != NULL) - return font; - if ((font = cText2SkinFont::Load(SkinPath() + "/" + mSkin->Name(), mFontFace, mFontSize, mFontWidth)) != NULL) return font; + if ((font = cText2SkinFont::Load(SkinPath() + "/fonts", mFontFace, mFontSize, mFontWidth)) + != NULL) + return font; + } return cFont::GetFont(fontOsd); |