diff --git a/src/Prefs.cpp b/src/Prefs.cpp index 502453b08..68fcc6d10 100644 --- a/src/Prefs.cpp +++ b/src/Prefs.cpp @@ -168,7 +168,7 @@ void InitPreferences() if(!gone) { wxString fileName = fn.GetFullPath(); - wxMessageBox(_("Failed to remove %s", fileName), _("Failed!")); + wxMessageBox(wxString::Format( _("Failed to remove %s"), fileName), _("Failed!")); } }