mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Bug 1766 - Invalid check for unsupported Nyquist plug-in version
Issue/fix by David Binderman.
This commit is contained in:
parent
b48c6b0fd6
commit
7c49019669
@ -1591,7 +1591,7 @@ void NyquistEffect::Parse(const wxString &line)
|
|||||||
if (len >= 2 && tokens[0] == wxT("version")) {
|
if (len >= 2 && tokens[0] == wxT("version")) {
|
||||||
long v;
|
long v;
|
||||||
tokens[1].ToLong(&v);
|
tokens[1].ToLong(&v);
|
||||||
if (v < 1 && v > 4) {
|
if (v < 1 || v > 4) {
|
||||||
// This is an unsupported plug-in version
|
// This is an unsupported plug-in version
|
||||||
mOK = false;
|
mOK = false;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user