]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem.cc
page-layout: skip spacing spec for empty lines; issue 1669
[lilypond.git] / lily / page-layout-problem.cc
index 11177be03a461e4b736f7e06772380910237d01a..c3cd382d41bf491a02fdf0eb921f30631d33fdf3 100644 (file)
@@ -853,6 +853,9 @@ Page_layout_problem::find_system_offsets ()
                 }
               else // ! is_spaceable
                 {
+                  if (staff->extent (staff, Y_AXIS).is_empty ())
+                    continue;
+
                   if (loose_lines.empty ())
                     loose_lines.push_back (last_spaceable_line);