diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-10 07:29:56 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 07:29:56 -0600 |
commit | ec838fe4abf3d1003c654d3b6902a4f145d0fb5a (patch) | |
tree | b0e7d67f746e645e3e50e49e4716603006b7ea41 | |
parent | 2d6e867ba8306bc662b9cf42dd403f2ebcb140a6 (diff) | |
download | mana-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.gz mana-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.bz2 mana-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.xz mana-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.zip |
Fixed an indentation error in the last commit.
Signed-off-by: Ira Rice <irarice@gmail.com>
-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 47fadc8d..9ae1be2c 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 { |