diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 05:15:20 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 07:28:35 -0600 |
commit | 2d6e867ba8306bc662b9cf42dd403f2ebcb140a6 (patch) | |
tree | a88d742f4acbeacf909bc80b837cb64bbae06580 /src/gui/chat.cpp | |
parent | b1c08a56778308897b2a46d6111084044583de0e (diff) | |
download | mana-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.cpp | 16 |
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 { |