mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-16 09:31:14 +01:00
Fix another loading issue with VST XML files.
This commit is contained in:
@@ -1919,7 +1919,7 @@ bool VSTEffectDialog::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ndx < 1 || ndx > mAEffect->numParams) {
|
||||
if (ndx < 0 || ndx >= mAEffect->numParams) {
|
||||
// Could be a different version of the effect...probably should
|
||||
// tell the user
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user