From b16d2245bbd374805d15cdca585e8b42bf139605 Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 29 Sep 2011 12:43:05 +0200 Subject: 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 --- src/server/game/Chat/Chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/game/Chat/Chat.cpp') diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 91a9382b2e3..cd62d93c242 100755 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -986,7 +986,7 @@ void ChatHandler::FillMessageData(WorldPacket* data, WorldSession* session, uint else *data << uint32(LANG_UNIVERSAL); - switch(type) + switch (type) { case CHAT_MSG_SAY: case CHAT_MSG_PARTY: @@ -1287,7 +1287,7 @@ uint32 ChatHandler::extractSpellIdFromLink(char* text) uint32 id = (uint32)atol(idS); - switch(type) + switch (type) { case SPELL_LINK_SPELL: return id; @@ -1367,7 +1367,7 @@ uint64 ChatHandler::extractGuidFromLink(char* text) if (!idS) return 0; - switch(type) + switch (type) { case SPELL_LINK_PLAYER: { -- cgit v1.2.3