mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +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")) {
|
||||
long v;
|
||||
tokens[1].ToLong(&v);
|
||||
if (v < 1 && v > 4) {
|
||||
if (v < 1 || v > 4) {
|
||||
// This is an unsupported plug-in version
|
||||
mOK = false;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user