From 2046bb0e14ba216e90dff6380853304d726bc603 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Sat, 20 Jan 2007 02:51:30 +0000 Subject: [PATCH] tiny mistakes --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40339 --- core/CTranslator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/CTranslator.cpp b/core/CTranslator.cpp index 1d77ebea..a9a89fe8 100644 --- a/core/CTranslator.cpp +++ b/core/CTranslator.cpp @@ -64,7 +64,7 @@ void CPhraseFile::ParseWarning(const char *message, ...) if (!m_FileLogged) { g_Logger.LogError("[SM] Warning(s) encountered in translation file \"%s\"", m_File.c_str()); - m_FileLogged; + m_FileLogged = true; } g_Logger.LogError("[SM] %s", message); @@ -685,7 +685,7 @@ SMCParseResult CTranslator::ReadSMC_NewSection(const char *name, bool opt_quotes if (!m_InLanguageSection) { - g_Logger.LogError("[SM] Warning: Unrecognized section \"%s\" in languages.cfg"); + g_Logger.LogError("[SM] Warning: Unrecognized section \"%s\" in languages.cfg", name); } return SMCParse_Continue; @@ -705,7 +705,7 @@ SMCParseResult CTranslator::ReadSMC_KeyValue(const char *key, const char *value, if (len != 2) { g_Logger.LogError("[SM] Warning encountered parsing languages.cfg file."); - g_Logger.LogError("[SM] Invalid language code \"%s\" is being ignored."); + g_Logger.LogError("[SM] Invalid language code \"%s\" is being ignored.", key); } Language *pLanguage = new Language;