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/registerdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/registerdialog.cpp') diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp index 895d841b6..988d4c718 100644 --- a/src/gui/registerdialog.cpp +++ b/src/gui/registerdialog.cpp @@ -184,7 +184,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event) { // Name too short errorMsg = strprintf - (_("The username needs to be at least %d characters long."), + (_("The username needs to be at least %u characters long."), minUser); error = 1; } @@ -192,7 +192,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event) { // Name too long errorMsg = strprintf - (_("The username needs to be less than %d characters long."), + (_("The username needs to be less than %u characters long."), maxUser); error = 1; } @@ -200,7 +200,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event) { // Pass too short errorMsg = strprintf - (_("The password needs to be at least %d characters long."), + (_("The password needs to be at least %u characters long."), minPass); error = 2; } @@ -208,7 +208,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event) { // Pass too long errorMsg = strprintf - (_("The password needs to be less than %d characters long."), + (_("The password needs to be less than %u characters long."), maxPass); error = 2; } -- cgit v1.2.3-70-g09d2