1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 00:59:43 +02:00

convert wxstring to C string before passing to printf, compile error on GCC and run-time crash for Visual C++

This commit is contained in:
richardash1981 2012-11-27 21:44:05 +00:00
parent 77c4d7e10c
commit c1e09f4aa8

View File

@ -1025,7 +1025,7 @@ void EqualizationDialog::LoadCurves(wxString fileName, bool append)
{
wxString msg;
/* i18n-hint: EQ stands for 'Equalization'.*/
msg.Printf(_("Error Loading EQ Curves from file:\n%s\nError message says:\n%s"), fn.GetFullPath(), reader.GetErrorStr());
msg.Printf(_("Error Loading EQ Curves from file:\n%s\nError message says:\n%s"), fn.GetFullPath().c_str(), reader.GetErrorStr().c_str());
// Inform user of load failure
wxMessageBox( msg,
_("Error Loading EQ Curves"),