X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsystem.cc;h=e0964482fcf91373fb73aaf07aebac53844d7ce3;hb=39c0e8adb498996f5e414b1d0bc3a20ac81aa619;hp=e686e3b58cad0585e3ea7303686e50bfeb5e13aa;hpb=0ef916567cbdf84627f6d35e33390457703f53b5;p=lilypond.git diff --git a/lily/system.cc b/lily/system.cc index e686e3b58c..e0964482fc 100644 --- a/lily/system.cc +++ b/lily/system.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1996--2007 Han-Wen Nienhuys + (c) 1996--2009 Han-Wen Nienhuys */ #include "system.hh" @@ -175,7 +175,7 @@ System::do_break_substitution_and_fixup_refpoints () } if (be_verbose_global) - message (_f ("Element count %d.", count + element_count ())); + message (_f ("Element count %d", count + element_count ()) + "\n"); } SCM @@ -419,7 +419,8 @@ System::get_paper_system () Interval staff_refpoints; extract_grob_set (this, "spaceable-staves", staves); for (vsize i = 0; i < staves.size (); i++) - staff_refpoints.add_point (staves[i]->relative_coordinate (this, Y_AXIS)); + if (staves[i]->is_live ()) + staff_refpoints.add_point (staves[i]->relative_coordinate (this, Y_AXIS)); pl->set_property ("staff-refpoint-extent", ly_interval2scm (staff_refpoints)); pl->set_property ("system-grob", this->self_scm ());