summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 22:57:39 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 22:57:39 +0200
commit576972fb768b0e43d41bada49ad88c6431494f10 (patch)
tree755420a6c566a748233c06310062ea2cdfa280da /src/gui/chat.cpp
parentc6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768 (diff)
parenta0f7bc231d9c348ba86248dd8d0adfddbce453f7 (diff)
downloadmana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.gz
mana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.bz2
mana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.xz
mana-client-576972fb768b0e43d41bada49ad88c6431494f10.zip
Merge branch '0.0.29'
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 9580ffe1..7faf9bda 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -414,7 +414,7 @@ void ChatWindow::setRecordingFile(const std::string &msg)
void ChatWindow::whisper(const std::string &nick, std::string mes, bool own)
{
- if (mes.length() == 0)
+ if (mes.empty())
return;
std::string playerName = player_node->getName();