From f4960433bc9ab45a19d51fafcba8b86821571cb8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 30 Aug 2004 01:37:25 +0000 Subject: [PATCH] Fixed possible formatting bug --- amxmodx/CLang.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/CLang.cpp b/amxmodx/CLang.cpp index a35738a6..2489bcdc 100755 --- a/amxmodx/CLang.cpp +++ b/amxmodx/CLang.cpp @@ -350,7 +350,7 @@ void CLangMngr::CLang::MergeDefinitions(CQueue &vec) entry->SetKey(key); entry->SetCache(false); } else { - AMXXLOG_Log("[AMXX] Language key %s[%s] defined twice", m_LMan->GetKey(key), m_LanguageName); + //AMXXLOG_Log("[AMXX] Language key %s[%s] defined twice", m_LMan->GetKey(key), m_LanguageName); } } delete vec.front(); @@ -785,7 +785,7 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len) char format[16]; format[0] = '%'; char *ptr = format+1; - if (*src != '%') + if (*src == 's' || *src == 'd' || *src == 'f' || *src == 'i' || *src == 'g') { while (*src != 0 && !isalpha(*ptr++ = *src++)) /*nothing*/;