From 1d476de4317b7a0bbff4cb1fe06e61534ba7a6f7 Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Sat, 31 Mar 2012 15:48:56 +0000 Subject: [PATCH] Possible fix for Linux build bug: missing c_str(). --- src/Prefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prefs.cpp b/src/Prefs.cpp index 68fcc6d10..4615fd98a 100644 --- a/src/Prefs.cpp +++ b/src/Prefs.cpp @@ -168,7 +168,7 @@ void InitPreferences() if(!gone) { wxString fileName = fn.GetFullPath(); - wxMessageBox(wxString::Format( _("Failed to remove %s"), fileName), _("Failed!")); + wxMessageBox(wxString::Format( _("Failed to remove %s"), fileName.c_str()), _("Failed!")); } }