From 7c49019669716e2ceb375c5ce11646f7e9ec1be3 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sat, 4 Nov 2017 17:16:34 +0000 Subject: [PATCH] Bug 1766 - Invalid check for unsupported Nyquist plug-in version Issue/fix by David Binderman. --- src/effects/nyquist/Nyquist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index b0a4562ce..781d99c9d 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -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;