1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Restore hyphenation of plug-in as preferred form.

This commit is contained in:
Steve Daulton 2015-05-21 16:56:34 +01:00
parent 89ee04294c
commit 4abd816c52
6 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
;nyquist plugin
;nyquist plug-in
;version 4
;type process
;name "Spectral edit multi tool"

View File

@ -1,4 +1,4 @@
;nyquist plugin
;nyquist plug-in
;version 4
;type process
;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plugin
;nyquist plug-in
;version 4
;type process
;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plugin
;nyquist plug-in
;version 4
;type process
;name "Crossfade Tracks..."

View File

@ -1,4 +1,3 @@
;nyquist plug-in
;version 3
;type generate

View File

@ -1263,10 +1263,10 @@ void NyquistEffect::Parse(wxString line)
return;
}
// 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.
// Consistency decission is for "plug-in" as the correct spelling
// "plugin" is allowed as an undocumented convenience.
if (len == 2 && tokens[0] == wxT("nyquist") &&
(tokens[1] == wxT("plugin") || tokens[1] == wxT("plug-in"))) {
(tokens[1] == wxT("plug-in") || tokens[1] == wxT("plugin"))) {
mOK = true;
return;
}