diff options
-rw-r--r-- | xbmc/guilib/GUIFontManager.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xbmc/guilib/GUIFontManager.cpp b/xbmc/guilib/GUIFontManager.cpp index f5c0732c93..9170cc0406 100644 --- a/xbmc/guilib/GUIFontManager.cpp +++ b/xbmc/guilib/GUIFontManager.cpp @@ -507,10 +507,7 @@ void GUIFontManager::LoadFonts(const TiXmlNode* fontNode) if (!fontName.empty() && URIUtils::HasExtension(fileName, ".ttf")) { - //! @todo Why do we tolower() this shit? - std::string strFontFileName = fileName; - StringUtils::ToLower(strFontFileName); - LoadTTF(fontName, strFontFileName, textColor, shadowColor, iSize, iStyle, false, lineSpacing, + LoadTTF(fontName, fileName, textColor, shadowColor, iSize, iStyle, false, lineSpacing, aspect); } fontNode = fontNode->NextSibling("font"); |