From 40a84a82e9a8a077271bffa13abd0e86f203bf54 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 27 May 2007 21:57:15 +0000 Subject: [PATCH] Fix triplet handling --- Sources/VLLilypondWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLLilypondWriter.cpp b/Sources/VLLilypondWriter.cpp index 4e517b7..f3ebb11 100644 --- a/Sources/VLLilypondWriter.cpp +++ b/Sources/VLLilypondWriter.cpp @@ -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);