From 7e0a97d2521b9ce57003176e82a0b5564aa003c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jul 2012 23:26:59 +0300 Subject: Fix more code style and additional warnings. --- src/gui/changepassworddialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/changepassworddialog.cpp') diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp index 5f233df77..657bf8fd9 100644 --- a/src/gui/changepassworddialog.cpp +++ b/src/gui/changepassworddialog.cpp @@ -118,14 +118,14 @@ void ChangePasswordDialog::action(const gcn::ActionEvent &event) { // First password too short errorMsg << strprintf(_("The new password needs to be at least" - " %d characters long."), min); + " %u characters long."), min); error = 2; } else if (newFirstPass.length() > max - 1 ) { // First password too long errorMsg << strprintf(_("The new password needs to be less " - "than %d characters long."), max); + "than %u characters long."), max); error = 2; } else if (newFirstPass != newSecondPass) -- cgit v1.2.3-70-g09d2