summaryrefslogtreecommitdiff
path: root/src/gui/changepassworddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/changepassworddialog.cpp')
-rw-r--r--src/gui/changepassworddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp
index c337dccdf..3f41df3c5 100644
--- a/src/gui/changepassworddialog.cpp
+++ b/src/gui/changepassworddialog.cpp
@@ -129,7 +129,7 @@ void ChangePasswordDialog::action(const gcn::ActionEvent &event)
" %u characters long."), min);
error = 2;
}
- else if (newFirstPass.length() > max - 1 )
+ else if (newFirstPass.length() > max)
{
// First password too long
// TRANSLATORS: change password error