From: David Kastrup Date: Tue, 27 Oct 2015 21:52:00 +0000 (+0100) Subject: Save an unnecessary double calculation in tab-note-head::print X-Git-Tag: release/2.19.31-1~10 X-Git-Url: https://git.donarmstrong.com/lilypond.git?p=lilypond.git;a=commitdiff_plain;h=0e4e1a56b7196523a1812c1d969e2f871f693ace Save an unnecessary double calculation in tab-note-head::print --- diff --git a/scm/tablature.scm b/scm/tablature.scm index 87e5b300af..9d5fdd2233 100644 --- a/scm/tablature.scm +++ b/scm/tablature.scm @@ -266,9 +266,7 @@ (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