]> git.donarmstrong.com Git - lilypond.git/commitdiff
page-breaking: allow degenerate scores; issue 4161
authorKeith OHara <k-ohara5a5a@oco.net>
Sun, 16 Nov 2014 02:42:28 +0000 (18:42 -0800)
committerKeith OHara <k-ohara5a5a@oco.net>
Sun, 30 Nov 2014 02:04:02 +0000 (18:04 -0800)
Reverses part of  fb5d36ef6d026fdaa2b5d6c207eefd39374bff97
that was trying to avoid zero-length chunks, because
after 255fe22c663dbbcb25b693fc8e60ca95343417ef  we have to
deal with zero-length chunks.

lily/page-breaking.cc

index 252e24c5df61c2685d2b5ac415cc2292c4d7b9d5..6767f5ff3f1c96716f872be4039baf58ab7d6378 100644 (file)
@@ -747,7 +747,7 @@ Page_breaking::find_chunks_and_breaks (Break_predicate is_break, Prob_break_pred
           vector<vsize> line_breaker_columns;
           line_breaker_columns.push_back (0);
 
-          for (vsize j = 1; j < cols.size (); j++)
+          for (vsize j = 0; j < cols.size (); j++)
             {
               if (forced_line_break_cols.size ())
                 {