aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2016-08-08 18:07:19 +0200
committerjackpoz <giacomopoz@gmail.com>2016-08-08 18:07:19 +0200
commit5588881be21fbd48a34fb705f813cdc095aeca13 (patch)
treef5071d6b623b897bde89a21d4d7421a9dc02d226
parent68015599dcbc3a15f2cca8562cab606f45a95d15 (diff)
Common/Common: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
-rw-r--r--src/common/Common.cpp5
1 files changed, 3 insertions, 2 deletions
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