summaryrefslogtreecommitdiff
path: root/src/gui/changepassworddialog.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/changepassworddialog.cpp
parent6f6cac1787dec5f15b298c18c08339cacde7cb99 (diff)
downloadplus-3ef886b241c5654bf21e5326d1299ccde161b228.tar.gz
plus-3ef886b241c5654bf21e5326d1299ccde161b228.tar.bz2
plus-3ef886b241c5654bf21e5326d1299ccde161b228.tar.xz
plus-3ef886b241c5654bf21e5326d1299ccde161b228.zip
Fix password length limit messages.
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