From: David Kastrup Date: Mon, 15 Sep 2014 16:03:55 +0000 (+0200) Subject: Remove redundant check for empty X interval X-Git-Tag: release/2.19.15-1~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8a2a07175acaf1d2ccc51defd99b24d3aab63629;p=lilypond.git Remove redundant check for empty X interval --- diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm index e16a89e7aa..f4543cff52 100644 --- a/scm/define-markup-commands.scm +++ b/scm/define-markup-commands.scm @@ -1255,9 +1255,7 @@ words varies according to their relative lengths." orig-stencils)) (text-widths (map (lambda (stc) - (if (ly:stencil-empty? stc) - 0.0 - (interval-length (ly:stencil-extent stc X)))) + (interval-length (ly:stencil-extent stc X))) stencils)) (text-width (apply + text-widths)) (word-count (length stencils))