mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Fix for bug 2013
Bug 2013 - Extended ASCII characters in Nyquist plug-ins freeze Audacity We previously assumed that plug-ins would always be valid UTF8, but if it isn't then the conversion to wxTextInputStream fails, causing pgm.ReadLine() to perpetually return a zero length line.
This commit is contained in:
@@ -2110,7 +2110,7 @@ bool NyquistEffect::ParseProgram(wxInputStream & stream)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxTextInputStream pgm(stream, wxT(" \t"), wxConvUTF8);
|
wxTextInputStream pgm(stream, wxT(" \t"), wxConvAuto());
|
||||||
|
|
||||||
mCmd = wxT("");
|
mCmd = wxT("");
|
||||||
mIsSal = false;
|
mIsSal = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user