1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 14:13:57 +01: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

@@ -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;
}