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
2011-09-29 12:43:05 +02:00
parent 8b820baa73
commit b16d2245bb
390 changed files with 1545 additions and 1545 deletions
@@ -89,7 +89,7 @@ public:
void WaypointReached(uint32 uiPointId)
{
switch(uiPointId)
switch (uiPointId)
{
case 26:
DoScriptText(SAY_OOX_AMBUSH, me);
@@ -107,7 +107,7 @@ public:
void WaypointStart(uint32 uiPointId)
{
switch(uiPointId)
switch (uiPointId)
{
case 27:
for (uint8 i = 0; i < 3; ++i)
@@ -284,7 +284,7 @@ public:
if (!player)
return;
switch(uiPointId)
switch (uiPointId)
{
case 1:
DoScriptText(SAY_RIN_FREE, me, player);
@@ -317,7 +317,7 @@ public:
if (Unit* player = GetPlayerForEscort())
{
switch(m_uiPostEventCount)
switch (m_uiPostEventCount)
{
case 1:
DoScriptText(SAY_RIN_PROGRESS_1, me, player);