From: Joe Neeman Date: Sun, 16 Aug 2009 01:43:35 +0000 (+1000) Subject: Fix system-count. X-Git-Tag: release/2.13.4-1~179^2~39 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=91a7d8ea51745072e2bd1a2407c17e58c45f74c6;p=lilypond.git Fix system-count. --- diff --git a/input/regression/page-spacing-system-count.ly b/input/regression/page-spacing-system-count.ly index 3758bd4cf1..f3f5e382d5 100644 --- a/input/regression/page-spacing-system-count.ly +++ b/input/regression/page-spacing-system-count.ly @@ -1,7 +1,7 @@ \version "2.13.4" \header { - texidoc = "Page layout and stretching work with system-cound enabled." + texidoc = "Page layout and stretching work with system-count enabled." } #(set-default-paper-size "a6") diff --git a/lily/page-breaking.cc b/lily/page-breaking.cc index 1b61f38258..038b0af247 100644 --- a/lily/page-breaking.cc +++ b/lily/page-breaking.cc @@ -524,13 +524,14 @@ Page_breaking::find_chunks_and_breaks (Break_predicate is_break) Constrained_breaking breaking (system_specs_[i].pscore_); vector details = breaking.line_details (0, VPOS, scm_to_int (system_count)); + cols.push_back (system_specs_[i].pscore_->root_system ()->used_columns ()[0]); for (vsize j = 0; j < details.size (); j++) cols.push_back (details[j].last_column_); } else cols = system_specs_[i].pscore_->root_system ()->used_columns (); - int last_chunk_idx = -1; + int last_chunk_idx = 0; vector line_breaker_columns; line_breaker_columns.push_back (0);