diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-29 13:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-29 13:09:30 +0300 |
commit | 3ef886b241c5654bf21e5326d1299ccde161b228 (patch) | |
tree | c3596884a6c0b19cdcf06a41ff66de639c0189a9 /src/gui/registerdialog.cpp | |
parent | 6f6cac1787dec5f15b298c18c08339cacde7cb99 (diff) | |
download | mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.gz mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.bz2 mv-3ef886b241c5654bf21e5326d1299ccde161b228.tar.xz mv-3ef886b241c5654bf21e5326d1299ccde161b228.zip |
Fix password length limit messages.
Diffstat (limited to 'src/gui/registerdialog.cpp')
-rw-r--r-- | src/gui/registerdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp index bafcad58a..183f6b6b8 100644 --- a/src/gui/registerdialog.cpp +++ b/src/gui/registerdialog.cpp @@ -219,7 +219,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event) minPass); error = 2; } - else if (mPasswordField->getText().length() > maxPass - 1 ) + else if (mPasswordField->getText().length() > maxPass) { // Pass too long errorMsg = strprintf |