Fix triplet handling

This commit is contained in:
Matthias Neeracher 2007-05-27 21:57:15 +00:00
parent a65a85cadd
commit 40a84a82e9

View File

@ -170,7 +170,7 @@ void VLLilypondWriter::VisitNote(VLLyricsNote & n)
strcpy(duration, ".");
else if (n.fVisual & VLNote::kTriplet)
sprintf(duration, "%s\\times 2/3 { %s%d%s }",
space, nm.c_str(), kValue[n.fVisual], tie);
space, nm.c_str(), kValue[n.fVisual & VLNote::kNoteHead], tie);
else
sprintf(duration, "%s%s%d%s", space, nm.c_str(), kValue[n.fVisual], tie);