diff --git a/Sources/VLPListDocument.mm b/Sources/VLPListDocument.mm index 8380ec8..565d20a 100644 --- a/Sources/VLPListDocument.mm +++ b/Sources/VLPListDocument.mm @@ -219,6 +219,8 @@ void VLPlistVisitor::VisitChord(VLChord & c) VLFraction at(0); VLFraction tiedStart(0); VLLyricsNote tiedNote; + uint8_t prevKind[20]; + memset(prevKind, 0, 20); for (NSEnumerator * ne = [melody objectEnumerator]; NSDictionary * ndict = [ne nextObject]; @@ -261,7 +263,18 @@ void VLPlistVisitor::VisitChord(VLChord & c) note.fLyrics.push_back(syll); } } - + + // + // Sanitize syllabic information which was corrupt in early + // versions. + // + for (size_t i = 0; i