summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 05:15:20 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-10 05:16:03 -0600
commit9e7dfd7397ed2c282015f4cc13c42598b6bb1f39 (patch)
treea3a947453d47b1588ca4c6cec730054066f4748b /src/gui/chat.cpp
parent881f3c693e2ac4d17f2e7109a809d1bd4c2f62c6 (diff)
downloadmana-client-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.gz
mana-client-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.bz2
mana-client-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.xz
mana-client-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.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 26eaf488..702327a5 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -140,12 +140,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";
@@ -622,9 +622,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
{