1
0
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:
lllucius 2014-05-23 04:41:19 +00:00
parent 8b1d71c657
commit 631f6a119d

View File

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