Common/Common: Reduce differences between 3.3.5 and 6.x branches

Code functionality shouldn't have been modified.
This commit is contained in:
jackpoz
2016-08-08 18:07:19 +02:00
parent 68015599dc
commit 5588881be2

View File

@@ -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