summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
commitff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9 (patch)
tree51a99a43eba0b09ca9e5f554b3676d0308685797 /src/gui/chatwindow.cpp
parent538261b13990ee02bbc62d9704233885b15cee04 (diff)
downloadmanaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.gz
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.bz2
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.xz
manaverse-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.zip
Fix code style with new tool.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 6831ad5b6..452d2420e 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -594,7 +594,7 @@ void ChatWindow::ignoreAllWhispers()
PlayerRelation::IGNORED);
}
- delete(iter->second);
+ delete (iter->second);
iter->second = nullptr;
}
}
@@ -1122,7 +1122,7 @@ std::string ChatWindow::addColors(std::string &msg)
int cMap[] = {1, 4, 5, 2, 3, 6, 7, 9, 0, 8};
// rainbow
- switch(mChatColor)
+ switch (mChatColor)
{
case 11:
msg = removeColors(msg);