summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 23:29:21 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-09 22:51:37 +0200
commitdefb43bcd7dd1b3a475214bb3c36cb44bf16358f (patch)
tree40930c6d2e0f83723d230657b1250c600162c5ee /src/gui
parent69d8407badcb703709534f5097b9b5697ac3404c (diff)
downloadmana-client-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.gz
mana-client-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.bz2
mana-client-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.xz
mana-client-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.zip
Fixed some warnings
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/chattab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index f3258f04..1879a918 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -215,7 +215,8 @@ void ChatTab::chatInput(std::string &msg)
{
trim(msg);
- if (msg.empty()) return;
+ if (msg.empty())
+ return;
// Check for item link
std::string::size_type start = msg.find('[');