1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-12 07:36:24 +01:00

Avoid passing a wxString to wxString::Printf()

This commit is contained in:
BusinessmanProgrammerSteve
2010-09-10 05:22:23 +00:00
parent f9be883b82
commit ed7f94ca7d

View File

@@ -288,7 +288,7 @@ void EffectNyquist::Parse(wxString line)
{
wxString str;
str.Printf(_("Bad Nyquist 'control' type specification: '%s' in plugin file '%s'.\nControl not created."),
tokens[3], mFileName.GetFullPath().c_str());
tokens[3].c_str(), mFileName.GetFullPath().c_str());
// Too disturbing to show alert before Audacity frame is up.
// wxMessageBox(str, wxT("Nyquist Warning"), wxOK | wxICON_EXCLAMATION);