From af649b94e1141736cf1efe57d218cc2b0b0fbb3e Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Sat, 18 Oct 2014 18:46:50 +0000 Subject: [PATCH] c_str()'s for Linux. [Need to review this for wx3.x] --- src/effects/nyquist/Nyquist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index aeb7f1005..959bc4701 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -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