summaryrefslogtreecommitdiff
path: root/src/gui/unregisterdialog.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/unregisterdialog.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/unregisterdialog.cpp')
-rw-r--r--src/gui/unregisterdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/unregisterdialog.cpp b/src/gui/unregisterdialog.cpp
index a88ac7e16..3640456d0 100644
--- a/src/gui/unregisterdialog.cpp
+++ b/src/gui/unregisterdialog.cpp
@@ -126,7 +126,7 @@ void UnRegisterDialog::action(const gcn::ActionEvent &event)
"characters long."), min);
error = true;
}
- else if (password.length() > max - 1)
+ else if (password.length() > max)
{
// TRANSLATORS: unregister dialog. error message.
errorMsg << strprintf(_("The password needs to be less than "