+2006-06-04 Nicolas Sceaux <nicolas.sceaux@free.fr>
+
+ * scm/paper-system.scm (paper-system-annotate): fix problem when
+ annotating an empty system
+
2006-06-04 Han-Wen Nienhuys <hanwen@lilypond.org>
* GNUmakefile.in: reinstate old web tar/copying.
(+ next-space next-padding)
"refpoint-Y-extent" "next-space+padding"
"space after next-space+padding"))
- (set! (ly:prob-property system 'stencil)
- (ly:stencil-add
- (ly:prob-property system 'stencil)
- (ly:make-stencil
- (ly:stencil-expr annotations)
- (ly:stencil-extent empty-stencil X)
- (ly:stencil-extent empty-stencil Y))))))
+ (if (not (null? annotations))
+ (set! (ly:prob-property system 'stencil)
+ (ly:stencil-add
+ (ly:prob-property system 'stencil)
+ (ly:make-stencil
+ (ly:stencil-expr annotations)
+ (ly:stencil-extent empty-stencil X)
+ (ly:stencil-extent empty-stencil Y)))))
+ (ly:prob-property system 'stencil)))
\ No newline at end of file