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:
Spp committed 2011-09-29 12:43:05 +02:00
1 parent 8b820baa73
commit b16d2245bb
390 files changed
+1545 -1545

No files matched your search

+2 -2
View File
@@ -1135,7 +1135,7 @@ void SpellMgr::LoadSpellRanks()
}
mSpellChains.clear();
QueryResult result = WorldDatabase.Query("SELECT first_spell_id, spell_id, rank from spell_ranks ORDER BY first_spell_id , rank");
QueryResult result = WorldDatabase.Query("SELECT first_spell_id, spell_id, rank from spell_ranks ORDER BY first_spell_id, rank");
if (!result)
{
@@ -1820,7 +1820,7 @@ void SpellMgr::LoadSpellProcs()
baseProcEntry.cooldown = uint32(cooldown);
baseProcEntry.charges = fields[14].GetUInt32();
while(true)
while (true)
{
if (mSpellProcMap.find(spellId) != mSpellProcMap.end())
{