mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 09:30:06 +02:00
c_str()'s for Linux.
[Need to review this for wx3.x]
This commit is contained in:
parent
e77fa72adc
commit
af649b94e1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user