From 2cb7b5a06ae7a2a22d6005f7b9ff4307e19c1390 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 5 Apr 2007 05:28:44 +0000 Subject: [PATCH] whoops --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40670 --- core/Translator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Translator.cpp b/core/Translator.cpp index fd909a6f..e6b7455f 100644 --- a/core/Translator.cpp +++ b/core/Translator.cpp @@ -862,9 +862,9 @@ unsigned int Translator::GetServerLanguageCode() 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)); - return 0; + return LANGUAGE_ENGLISH; } return (unsigned int)serverLang;