From f6eefedcd537754978cc351ec8a78a7f67dd7979 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 26 Jun 2016 19:23:57 +0200 Subject: converted all tabs to 4 spaces --- src/server/shared/Common.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/shared/Common.cpp') diff --git a/src/server/shared/Common.cpp b/src/server/shared/Common.cpp index 670035304b..ae40b23700 100644 --- a/src/server/shared/Common.cpp +++ b/src/server/shared/Common.cpp @@ -41,9 +41,9 @@ LocaleConstant GetLocaleByName(const std::string& name) void CleanStringForMysqlQuery(std::string& str) { - std::string::size_type n = 0; - while ((n=str.find('\\')) != str.npos) str.erase(n,1); - while ((n=str.find('"')) != str.npos) str.erase(n,1); - while ((n=str.find('\'')) != str.npos) str.erase(n,1); + std::string::size_type n = 0; + while ((n=str.find('\\')) != str.npos) str.erase(n,1); + while ((n=str.find('"')) != str.npos) str.erase(n,1); + while ((n=str.find('\'')) != str.npos) str.erase(n,1); } -- cgit v1.2.3