diff options
Diffstat (limited to 'xbmc/dialogs/GUIDialogNumeric.cpp')
-rw-r--r-- | xbmc/dialogs/GUIDialogNumeric.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/dialogs/GUIDialogNumeric.cpp b/xbmc/dialogs/GUIDialogNumeric.cpp index e0e53728e4..37b4114a3e 100644 --- a/xbmc/dialogs/GUIDialogNumeric.cpp +++ b/xbmc/dialogs/GUIDialogNumeric.cpp @@ -605,9 +605,8 @@ int CGUIDialogNumeric::ShowAndVerifyPassword(std::string& strPassword, const std if (iRetries > 0) { // Show a string telling user they have iRetries retries left - strTempHeading = StringUtils::Format("{}. {} {} {}", strHeading.c_str(), - g_localizeStrings.Get(12342).c_str(), iRetries, - g_localizeStrings.Get(12343).c_str()); + strTempHeading = StringUtils::Format("{}. {} {} {}", strHeading, g_localizeStrings.Get(12342), + iRetries, g_localizeStrings.Get(12343)); } // make a copy of strPassword to prevent from overwriting it later |