diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-30 16:22:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-30 16:22:13 +0300 |
commit | caba5e3b539f7dd4e8f47744c41b7d0e65b99a32 (patch) | |
tree | 9ba0cb26ea4a88cc14f6357cd8aac4262fefcee0 /src/gui | |
parent | cf81cc1f447ed101ed2e7e89971c6e3564543c6f (diff) | |
download | manaplus-caba5e3b539f7dd4e8f47744c41b7d0e65b99a32.tar.gz manaplus-caba5e3b539f7dd4e8f47744c41b7d0e65b99a32.tar.bz2 manaplus-caba5e3b539f7dd4e8f47744c41b7d0e65b99a32.tar.xz manaplus-caba5e3b539f7dd4e8f47744c41b7d0e65b99a32.zip |
Fix party name crration size limit in social window.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |