Skip to content

Commit

Permalink
ported #7278 : Fix #284796: Incomplete voice in local time signature …
Browse files Browse the repository at this point in the history
…leads to corruption upon import
  • Loading branch information
igorkorsukov authored and vpereverzev committed Feb 5, 2021
1 parent 90f98b0 commit 3afd1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmscore/check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void Measure::checkMeasure(int staffIdx)
if (f > expectedPos) {
// don't fill empty voices
if (expectedPos.isNotZero()) {
fillGap(expectedPos, ticks() - expectedPos, track, stretch);
fillGap(expectedPos, f - expectedPos, track, stretch);
}
} else if (f < expectedPos) {
qDebug("measure overrun %6d, %d > %d, track %d", tick().ticks(), expectedPos.ticks(), f.ticks(), track);
Expand Down

0 comments on commit 3afd1b1

Please sign in to comment.