From 3ef886b241c5654bf21e5326d1299ccde161b228 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Sep 2013 13:09:30 +0300 Subject: Fix password length limit messages. --- src/gui/changepassworddialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/changepassworddialog.cpp') 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 -- cgit v1.2.3-70-g09d2