summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 05:15:20 -0600
committerIra Rice <irarice@gmail.com>2009-03-10 07:28:35 -0600
commit2d6e867ba8306bc662b9cf42dd403f2ebcb140a6 (patch)
treea88d742f4acbeacf909bc80b837cb64bbae06580 /src/gui/chat.cpp
parentb1c08a56778308897b2a46d6111084044583de0e (diff)
downloadMana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.gz
Mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.bz2
Mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.xz
Mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.zip
Remove some tabs and trailing whitespace
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 91e410ce..47fadc8d 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -141,12 +141,12 @@ void ChatWindow::chatLog(std::string line, int own, bool ignoreRecord)
// *implements actions in a backwards compatible way*
if (own == BY_PLAYER &&
- tmp.text.at(0) == '*' &&
- tmp.text.at(tmp.text.length()-1) == '*')
+ tmp.text.at(0) == '*' &&
+ tmp.text.at(tmp.text.length()-1) == '*')
{
- tmp.text[0] = ' ';
- tmp.text.erase(tmp.text.length() - 1);
- own = ACT_IS;
+ tmp.text[0] = ' ';
+ tmp.text.erase(tmp.text.length() - 1);
+ own = ACT_IS;
}
std::string lineColor = "##C";
@@ -615,9 +615,9 @@ void ChatWindow::chatSend(const std::string &nick, std::string msg)
}
else if (command == "me")
{
- std::stringstream actionStr;
- actionStr << "*" << msg << "*";
- chatSend(player_node->getName(), actionStr.str());
+ std::stringstream actionStr;
+ actionStr << "*" << msg << "*";
+ chatSend(player_node->getName(), actionStr.str());
}
else
{