mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +02:00
Fix another loading issue with VST XML files.
This commit is contained in:
parent
8b1d71c657
commit
631f6a119d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user