summaryrefslogtreecommitdiff
path: root/src/gui/unregisterdialog.cpp
diff options
context:
space:
mode:
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 "