Fix crash in MMA conversion

This commit is contained in:
Matthias Neeracher 2007-05-07 03:38:34 +00:00
parent 0a45e471b0
commit 93d835d975

View File

@ -2150,7 +2150,7 @@ void VLSong::iterator::AdjustStatus()
return;
}
if (fMeasure == fSong.CountMeasures())
if (fMeasure == fSong.CountMeasures()-fSong.EmptyEnding())
while (fStatus.size())
if (++fStatus.back().fVolta < fStatus.back().fTimes) {
fMeasure = fStatus.back().fBegin;