From 93d835d9759f2a34498e468bcee41ae2d8567390 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Mon, 7 May 2007 03:38:34 +0000 Subject: [PATCH] Fix crash in MMA conversion --- Sources/VLModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 92ab7c9..2ac1868 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -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;