converted all tabs to 4 spaces
This commit is contained in:
parent
52f305111c
commit
f6eefedcd5
717 changed files with 132388 additions and 132388 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue