... but respect lyrics if set

This commit is contained in:
Matthias Neeracher 2011-09-10 23:17:14 +02:00
parent 7d960d2033
commit 5dbd60e9d4

View File

@ -629,10 +629,12 @@ void VLSong::AddNote(VLLyricsNote note, size_t measure, VLFraction at)
}
}
//
// Deliberately leave fLyrics alone
// Deliberately leave fLyrics alone unless set in incoming note
//
i->fPitch = note.fPitch;
i->fVisual = note.fVisual;
if (note.fLyrics.size())
i->fLyrics = note.fLyrics;
} else {
//
// Overlap, split current