aboutsummaryrefslogtreecommitdiff
path: root/src/common/Common.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-07-01 00:34:51 +0200
committerShauren <shauren.trinity@gmail.com>2020-07-01 00:34:51 +0200
commit4499f203a3ee9d6567b2af9011ee9e4378de0eab (patch)
treee2a2b2f58794edaa41886bc3ffb201a4f8c66361 /src/common/Common.h
parent587bf750f74245f0f7bb3b88dc599738eacb0226 (diff)
Core/DataStores: Fixed sending localized hotfixes and improved db2 loading error messages
Diffstat (limited to 'src/common/Common.h')
-rw-r--r--src/common/Common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index f35773e7c70..0a3ab68d39f 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -103,7 +103,7 @@ TC_COMMON_API LocaleConstant GetLocaleByName(std::string const& name);
constexpr inline bool IsValidLocale(LocaleConstant locale)
{
- return locale < TOTAL_LOCALES&& locale != LOCALE_none;
+ return locale < TOTAL_LOCALES && locale != LOCALE_none;
}
#pragma pack(push, 1)