From caba5e3b539f7dd4e8f47744c41b7d0e65b99a32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Sep 2014 16:22:13 +0300 Subject: Fix party name crration size limit in social window. --- src/gui/windows/socialwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index 513337767..536124379 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -369,7 +369,7 @@ void SocialWindow::action(const ActionEvent &event) { std::string name = mPartyCreateDialog->getText(); - if (name.size() > 16) + if (name.size() > 24) return; partyHandler->create(name); -- cgit v1.2.3-70-g09d2