summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 13:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 13:09:30 +0300
commit3ef886b241c5654bf21e5326d1299ccde161b228 (patch)
treec3596884a6c0b19cdcf06a41ff66de639c0189a9 /src/gui/registerdialog.cpp
parent6f6cac1787dec5f15b298c18c08339cacde7cb99 (diff)
downloadmanaverse-3ef886b241c5654bf21e5326d1299ccde161b228.tar.gz
manaverse-3ef886b241c5654bf21e5326d1299ccde161b228.tar.bz2
manaverse-3ef886b241c5654bf21e5326d1299ccde161b228.tar.xz
manaverse-3ef886b241c5654bf21e5326d1299ccde161b228.zip
Fix password length limit messages.
Diffstat (limited to 'src/gui/registerdialog.cpp')
-rw-r--r--src/gui/registerdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp
index bafcad58a..183f6b6b8 100644
--- a/src/gui/registerdialog.cpp
+++ b/src/gui/registerdialog.cpp
@@ -219,7 +219,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event)
minPass);
error = 2;
}
- else if (mPasswordField->getText().length() > maxPass - 1 )
+ else if (mPasswordField->getText().length() > maxPass)
{
// Pass too long
errorMsg = strprintf