]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-spacing.cc
Run `make grand-replace'.
[lilypond.git] / lily / page-spacing.cc
index 19129b3c175a0024dc157aebdcee31b8034e52a7..97ff0e45d1c606ce61ebed8324ce78d31d0d7383 100644 (file)
@@ -4,7 +4,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2006--2007 Joe Neeman <joeneeman@gmail.com>
+  (c) 2006--2008 Joe Neeman <joeneeman@gmail.com>
 */
 
 #include "page-spacing.hh"
@@ -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 */