Skip to content

Commit 137ff2c

Browse files
authored
Merge pull request #16887 from mixxxdj/JoergAtGithub-patch-1
Fix logical condition in VERIFY_OR_DEBUG_ASSERT of getStandardEffectChain
2 parents 72bd3a7 + 244d189 commit 137ff2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/effects/effectsmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ EffectChainPointer EffectsManager::getOutputEffectChain() const {
129129
}
130130

131131
EffectChainPointer EffectsManager::getStandardEffectChain(int unitNumber) const {
132-
VERIFY_OR_DEBUG_ASSERT(0 <= unitNumber || unitNumber < m_standardEffectChains.size()) {
132+
VERIFY_OR_DEBUG_ASSERT(0 <= unitNumber && unitNumber < m_standardEffectChains.size()) {
133133
return EffectChainPointer();
134134
}
135135
return m_standardEffectChains.at(unitNumber);

0 commit comments

Comments
 (0)