From b16d2245bbd374805d15cdca585e8b42bf139605 Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 29 Sep 2011 12:43:05 +0200 Subject: Cosmetic: Multiple cosmetic changes - Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '(' - Added missing space after a comma and remove space before comma (with some exceptions) - Remove trailing spaces - Convert tab to spaces Note: Only affects files with extension "cpp" and "h" under /src/server --- src/server/shared/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/shared/Common.cpp') diff --git a/src/server/shared/Common.cpp b/src/server/shared/Common.cpp index 3cd76181b3b..68b5a62b963 100755 --- a/src/server/shared/Common.cpp +++ b/src/server/shared/Common.cpp @@ -33,7 +33,7 @@ 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