]> git.donarmstrong.com Git - lilypond.git/commitdiff
Use (+inf . -inf) consistently for empty stencil intervals
authorDavid Kastrup <dak@gnu.org>
Sat, 27 Apr 2013 12:58:17 +0000 (14:58 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 26 May 2013 00:33:02 +0000 (02:33 +0200)
scm/define-markup-commands.scm
scm/titling.scm

index 96236f176952a3140af0d6d8847d87ddbe9f0921..1b81a508ddd13a62206195c61f63df50e993809c 100755 (executable)
 ;; utility functions
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
-(define-public empty-stencil (ly:make-stencil '() '(1 . -1) '(1 . -1)))
+(define-public empty-stencil (ly:make-stencil '()
+                                              empty-interval empty-interval))
 (define-public point-stencil (ly:make-stencil "" '(0 . 0) '(0 . 0)))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
index b6c1e0583d1a3dd7fc39977df7e447a90faac538..7118fb1a06a91bba99ac4e5aae8b5718b8849eb1 100644 (file)
@@ -100,4 +100,4 @@ with `header:'."
 
     (if (markup? markup)
        (interpret-markup layout props markup)
-       (ly:make-stencil '() '(1 . -1) '(1 . -1)))))
+        empty-stencil)))