Index: ChangeLog =================================================================== RCS file: /sources/lilypond/lilypond/ChangeLog,v retrieving revision 1.5312 diff -u -r1.5312 ChangeLog --- ChangeLog 19 Sep 2006 13:10:25 -0000 1.5312 +++ ChangeLog 19 Sep 2006 21:50:01 -0000 @@ -1,3 +1,13 @@ +2006-09-20 Joe Neeman + + * lily/page-breaking.cc (find_chunks_and_breaks): ignore breaks + that happen at the start of a score: having a zero-length + chunk was messing up min_system_count calculations. + + * lily/source-file.cc (get_line): lower_bound, not + binary_search. Fixes problem where point-and-click would + always point to the first line. + 2006-09-19 Han-Wen Nienhuys * scripts/abc2ly.py (try_parse_comment): idem. Index: lily/page-breaking.cc =================================================================== RCS file: /sources/lilypond/lilypond/lily/page-breaking.cc,v retrieving revision 1.4 diff -u -r1.4 page-breaking.cc --- lily/page-breaking.cc 19 Sep 2006 12:33:53 -0000 1.4 +++ lily/page-breaking.cc 19 Sep 2006 21:50:02 -0000 @@ -264,7 +264,7 @@ vector line_breaker_columns; line_breaker_columns.push_back (0); - for (vsize j = 0; j < cols.size (); j++) + for (vsize j = 1; j < cols.size (); j++) { bool last = j == cols.size () - 1; bool break_point = is_break (cols[j]);