From 5588881be21fbd48a34fb705f813cdc095aeca13 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Mon, 8 Aug 2016 18:07:19 +0200 Subject: Common/Common: Reduce differences between 3.3.5 and 6.x branches Code functionality shouldn't have been modified. --- src/common/Common.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/Common.cpp') diff --git a/src/common/Common.cpp b/src/common/Common.cpp index d2b3c9c8234..7337853b292 100644 --- a/src/common/Common.cpp +++ b/src/common/Common.cpp @@ -18,7 +18,8 @@ #include "Common.h" -TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = { +TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = +{ "enUS", "koKR", "frFR", @@ -33,7 +34,7 @@ TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = { LocaleConstant GetLocaleByName(const std::string& name) { for (uint32 i = 0; i < TOTAL_LOCALES; ++i) - if (name==localeNames[i]) + if (name == localeNames[i]) return LocaleConstant(i); return LOCALE_enUS; // including enGB case -- cgit v1.2.3