]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/paper-system.scm
MusicXML testsuite: Fix compilation for out-of-source builds...
[lilypond.git] / scm / paper-system.scm
index 4ddcd892ae2f8f4d2f3a5f550bd4616a9aceb881..9e9f9ab7d4ca85357f1b759de1745cc5ae75a384 100644 (file)
@@ -1,6 +1,6 @@
 ;;;; This file is part of LilyPond, the GNU music typesetter.
 ;;;;
-;;;; Copyright (C) 2006--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; Copyright (C) 2006--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 ;;;;
 ;;;; LilyPond is free software: you can redistribute it and/or modify
 ;;;; it under the terms of the GNU General Public License as published by
@@ -86,6 +86,8 @@
                               ((and next-system
                                     (paper-system-title? next-system))
                                (ly:output-def-lookup layout 'score-markup-spacing))
+                              ((not next-system)
+                               (ly:output-def-lookup layout 'last-bottom-spacing))
                               (else
                                (ly:output-def-lookup layout 'system-system-spacing))))
           (last-staff-Y (car (paper-system-staff-extents system))))