]> git.donarmstrong.com Git - lilypond.git/commitdiff
Save an unnecessary double calculation in tab-note-head::print
authorDavid Kastrup <dak@gnu.org>
Tue, 27 Oct 2015 21:52:00 +0000 (22:52 +0100)
committerDavid Kastrup <dak@gnu.org>
Sun, 1 Nov 2015 13:38:18 +0000 (14:38 +0100)
scm/tablature.scm

index 87e5b300af90c129b3a6f50d4ef45b77db1a47fc..9d5fdd223381e8d33a80478fbc3a382c0a7cfe08 100644 (file)
          (offset-factor (assoc-get 'head-offset details 3/5))
          (column-offset (* offset-factor
                            (interval-length
-                            (ly:stencil-extent
-                             (grob-interpret-markup grob "8")
-                             X)))))
+                            (ly:stencil-extent ref-grob X)))))
 
     (if (is-harmonic? grob)
         (set! output-grob (harmonic-proc output-grob