1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Modernize ';nyquist plug-in' header command.

Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
This commit is contained in:
stevethefiddle@gmail.com
2015-01-02 15:24:11 +00:00
parent 0c00a5f463
commit a13cb99e67
5 changed files with 8 additions and 5 deletions

View File

@@ -1231,7 +1231,10 @@ void EffectNyquist::Parse(wxString line)
return;
}
if (len == 2 && tokens[0] == wxT("nyquist") && tokens[1] == wxT("plug-in")) {
// As of version 4 plugins ";nyquist plug-in" is depricated in favour of ";nyquist plugin".
// The hyphenated version must be maintained while we support plugin versions < 4.
if (len == 2 && tokens[0] == wxT("nyquist") &&
(tokens[1] == wxT("plugin") || tokens[1] == wxT("plug-in"))) {
mOK = true;
return;
}