Skip to content

Commit

Permalink
debug builds crash on scores with drum staff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz authored and igorkorsukov committed Sep 29, 2020
1 parent 53e4719 commit 48163e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/midi/fluid/voice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ void Sample::optimize()
s->loopstart = s->start;
}

IF_ASSERT_FAILED(s->loopend <= s->end) {
if (s->loopend > s->end) {
s->loopend = s->end;
}

Expand Down

0 comments on commit 48163e9

Please sign in to comment.