More syllable sanitizing on import

This commit is contained in:
Matthias Neeracher 2011-09-10 23:40:49 +02:00
parent 5468cf0394
commit b831adb136

View File

@ -364,9 +364,13 @@ enum {
//
for (size_t i = 0; i<note.fLyrics.size(); ++i)
if (note.fLyrics[i].fText.size()) {
if (!(prevKind[i] & VLSyllable::kHasNext))
if (prevKind[i] & VLSyllable::kHasNext)
note.fLyrics[i].fKind |= VLSyllable::kHasPrev;
else
note.fLyrics[i].fKind &= ~VLSyllable::kHasPrev;
prevKind[i] = note.fLyrics[i].fKind;
} else {
prevKind[i] = 0;
}
tiedStart = at;