whoops
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40670
This commit is contained in:
parent
f93711bd82
commit
2cb7b5a06a
@ -862,9 +862,9 @@ unsigned int Translator::GetServerLanguageCode()
|
|||||||
|
|
||||||
if (!sm_trie_retrieve(m_pLCodeLookup, m_ServerLangCode, &serverLang))
|
if (!sm_trie_retrieve(m_pLCodeLookup, m_ServerLangCode, &serverLang))
|
||||||
{
|
{
|
||||||
g_Logger.LogError("Server language was set to bad language \"%s\" -- reverting to English");
|
g_Logger.LogError("Server language was set to bad language \"%s\" -- reverting to English", m_ServerLangCode);
|
||||||
strncopy(m_ServerLangCode, "en", sizeof(m_ServerLangCode));
|
strncopy(m_ServerLangCode, "en", sizeof(m_ServerLangCode));
|
||||||
return 0;
|
return LANGUAGE_ENGLISH;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (unsigned int)serverLang;
|
return (unsigned int)serverLang;
|
||||||
|
Loading…
Reference in New Issue
Block a user