mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
Fixed modulo zero bug in VST bus arrangement
This commit is contained in:
parent
821dea8008
commit
1a28e7acb2
1 changed files with 1 additions and 1 deletions
|
|
@ -1525,7 +1525,7 @@ private:
|
|||
}
|
||||
|
||||
for (i = 0; i < n; ++i)
|
||||
if ((config[i] = (config[i] + 1) % maxChans[i]) > 0)
|
||||
if ((config[i] = maxChans[i] ? (config[i] + 1) % maxChans[i] : 0) > 0)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue