From: Peter Chubb <peter.chubb@nicta.com.au>
Date: Tue, 20 Jan 2015 21:18:19 +0000 (+1100)
Subject: Fix trill-span errors
X-Git-Tag: release/2.19.16-1~2^2~26
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=78d61618c8216cb9199dd2be288afd0cedf15aaa;p=lilypond.git

Fix trill-span errors

The last change introduced a bug: ac:twiddletime returns a moment, and it
was changed to return a duration.  This causes a lilypond error when
using trillspan and articulate.
---

diff --git a/ly/articulate.ly b/ly/articulate.ly
index 706c57c9ec..bbfea19a8f 100644
--- a/ly/articulate.ly
+++ b/ly/articulate.ly
@@ -347,11 +347,11 @@
 	      (ly:music-property music 'elements)))
 	 (pre-t (if (pair? tr) (ly:music-property (car tr) 'twiddle)
 		 '()))
-	 (hemisemidur (ly:make-duration 5 0 1/1))
+	 (hemisemimom (ly:make-moment 1/64))
 	 (t (ac:targetTwiddleTime)))
    (if (ly:moment? pre-t)
     pre-t
-    hemisemidur)))
+    hemisemimom)))