summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-10 07:29:56 -0600
committerIra Rice <irarice@gmail.com>2009-03-10 07:29:56 -0600
commitec838fe4abf3d1003c654d3b6902a4f145d0fb5a (patch)
treeb0e7d67f746e645e3e50e49e4716603006b7ea41
parent2d6e867ba8306bc662b9cf42dd403f2ebcb140a6 (diff)
downloadmana-client-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.gz
mana-client-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.bz2
mana-client-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.tar.xz
mana-client-ec838fe4abf3d1003c654d3b6902a4f145d0fb5a.zip
Fixed an indentation error in the last commit.
Signed-off-by: Ira Rice <irarice@gmail.com>
-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 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
{