From 18cba14c0f80f6ae7db883ce4d6abbf24728f07d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 16 Apr 2009 22:32:39 +0200 Subject: Some more cleanups Nothing in particular worth mentioning. --- src/gui/widgets/whispertab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/whispertab.cpp') diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp index 87a88222..0c6503a6 100644 --- a/src/gui/widgets/whispertab.cpp +++ b/src/gui/widgets/whispertab.cpp @@ -45,7 +45,7 @@ WhisperTab::~WhisperTab() void WhisperTab::handleInput(const std::string &msg) { - if (msg.length() == 0) { + if (msg.empty()) { chatLog(_("Cannot send empty chat!"), BY_SERVER, false); return; } -- cgit v1.2.3-70-g09d2