1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 16:50:26 +02:00

Un-fix smart single quotes in Nyquist prompt too; see commit 45a0ce1

This commit is contained in:
Paul Licameli 2020-01-18 19:22:27 -05:00
parent 833bbb5455
commit d9ddb41410

View File

@ -2475,6 +2475,11 @@ bool NyquistEffect::TransferDataFromPromptWindow()
mInputCmd.Replace(left, dumb, true);
mInputCmd.Replace(right, dumb, true);
const wxString leftSingle = wxT("\u2018"), rightSingle = wxT("\u2019"),
dumbSingle = '\'';
mInputCmd.Replace(leftSingle, dumbSingle, true);
mInputCmd.Replace(rightSingle, dumbSingle, true);
mVersion = mVersionCheckBox->GetValue() ? 3 : 4;
return ParseCommand(mInputCmd);