summaryrefslogtreecommitdiff
path: root/src/gui/changeemaildialog.cpp
diff options
context:
space:
mode:
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