summaryrefslogtreecommitdiff
path: root/src/gui/changeemaildialog.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/changeemaildialog.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/changeemaildialog.cpp')
-rw-r--r--src/gui/changeemaildialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/changeemaildialog.cpp b/src/gui/changeemaildialog.cpp
index 3cf519336..cd10b8dfa 100644
--- a/src/gui/changeemaildialog.cpp
+++ b/src/gui/changeemaildialog.cpp
@@ -141,7 +141,7 @@ void ChangeEmailDialog::action(const gcn::ActionEvent &event)
"least %u characters long."), min);
error = 1;
}
- else if (newFirstEmail.length() > max - 1 )
+ else if (newFirstEmail.length() > max)
{
// First email address too long
// TRANSLATORS: change email error