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
This commit is contained in:
@@ -97,7 +97,7 @@ void CharacterDatabaseCleaner::CheckUnique(const char* column, const char* table
|
||||
ss << id;
|
||||
}
|
||||
}
|
||||
while(result->NextRow());
|
||||
while (result->NextRow());
|
||||
|
||||
if (found)
|
||||
{
|
||||
|
||||
@@ -493,7 +493,7 @@ DumpReturn PlayerDumpReader::LoadDump(const std::string& file, uint32 account, s
|
||||
}
|
||||
|
||||
// change the data to server values
|
||||
switch(type)
|
||||
switch (type)
|
||||
{
|
||||
case DTT_CHARACTER:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user