summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-08-27 19:03:18 +0200
committerJared Adams <jaxad0127@gmail.com>2010-08-27 11:17:35 -0600
commitef9eec73b3cc96ebecdc061e9e956a462fdcc19f (patch)
tree3e7d4cdc5db041d8a782266e85cc9e7d068b9863 /src/gui/socialwindow.cpp
parentc538f6372d9068140231749b0225a6a355009074 (diff)
downloadmana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.gz
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.bz2
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.tar.xz
mana-ef9eec73b3cc96ebecdc061e9e956a462fdcc19f.zip
Changing findBeingByName so that it searches case insensitive
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 3d8afa44..290fd557 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -498,7 +498,8 @@ void SocialWindow::action(const gcn::ActionEvent &event)
if (name.size() > 16)
{
- // TODO : State too many characters in input.
+ localChatTab->chatLog(_("Creating guild failed, please choose a "
+ "shorter name."), BY_SERVER);
return;
}
@@ -518,7 +519,8 @@ void SocialWindow::action(const gcn::ActionEvent &event)
if (name.size() > 16)
{
- // TODO : State too many characters in input.
+ localChatTab->chatLog(_("Creating party failed, please choose a "
+ "shorter name."), BY_SERVER);
return;
}