aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2013-10-22 13:24:26 +0200
committermontellese <montellese@xbmc.org>2013-10-22 13:29:48 +0200
commit1830ee90f01bc77ebcc39d022db5861e29990813 (patch)
tree4d5154020a36cb86c7ee0894c6e6027e6e62e5a4
parent6445124e443560ab4bbcf0c1ec149ba381c04c67 (diff)
CLangInfo: fix loading of languages after 92214e362b1b73f9f3629a5e8686709b6191e3dc
-rw-r--r--xbmc/LangInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/LangInfo.cpp b/xbmc/LangInfo.cpp
index b19223a70e..f283c28a15 100644
--- a/xbmc/LangInfo.cpp
+++ b/xbmc/LangInfo.cpp
@@ -243,7 +243,7 @@ bool CLangInfo::Load(const std::string& strFileName, bool onlyCheckLanguage /*=
}
TiXmlElement* pRootElement = xmlDoc.RootElement();
- if (pRootElement->ValueStr() == "language")
+ if (pRootElement->ValueStr() != "language")
{
CLog::Log(onlyCheckLanguage ? LOGDEBUG : LOGERROR, "%s Doesn't contain <language>", strFileName.c_str());
return false;