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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user