]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-spacing.cc
Fix a ragged-bottom/ragged-last-bottom corner case.
[lilypond.git] / lily / page-spacing.cc
index 19129b3c175a0024dc157aebdcee31b8034e52a7..78ad9a842a6561e2df7c02438b5089ab52ee57ab 100644 (file)
@@ -204,7 +204,7 @@ Page_spacer::calc_subproblem (vsize page, vsize line)
 
       if (page > 0 || page_start == 0)
        {
-         if (line == lines_.size () - 1 && ragged_last_ && space.force_ > 0)
+         if (line == lines_.size () - 1 && ragged && last && space.force_ > 0)
            space.force_ = 0;
 
          /* we may have to deal with single lines that are taller than a page */