1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +02:00

c_str()'s for Linux.

[Need to review this for wx3.x]
This commit is contained in:
james.k.crook@gmail.com 2014-10-18 18:46:50 +00:00
parent e77fa72adc
commit af649b94e1

View File

@ -782,17 +782,17 @@ bool EffectNyquist::ProcessOne()
{
static const wxString varName(wxT("*F0*"));
if (mF0 < 0)
cmd += wxString::Format(wxT("(setf %s nil)\n"), varName);
cmd += wxString::Format(wxT("(setf %s nil)\n"), varName.c_str());
else
cmd += wxString::Format(wxT("(setf %s (float %g))\n"), varName, mF0);
cmd += wxString::Format(wxT("(setf %s (float %g))\n"), varName.c_str(), mF0);
}
{
static const wxString varName(wxT("*F1*"));
if (mF1 < 0)
cmd += wxString::Format(wxT("(setf %s nil)\n"), varName);
cmd += wxString::Format(wxT("(setf %s nil)\n"), varName.c_str());
else
cmd += wxString::Format(wxT("(setf %s (float %g))\n"), varName, mF1);
cmd += wxString::Format(wxT("(setf %s (float %g))\n"), varName.c_str(), mF1);
}
#endif