X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-basic.cc;h=e0d9daaa00d7365b928b40885c014d7fd8d6d2e8;hb=f756e225cfd8d3a9f18a4dd73e27aed78cb5632d;hp=2cd69fa4ffc4efc9ee5e4abd652133594bcfd6e8;hpb=4c6ce589763e6264ff65a83026b16aea682943e4;p=lilypond.git diff --git a/lily/spacing-basic.cc b/lily/spacing-basic.cc index 2cd69fa4ff..e0d9daaa00 100644 --- a/lily/spacing-basic.cc +++ b/lily/spacing-basic.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2006 Han-Wen Nienhuys + (c) 2005--2007 Han-Wen Nienhuys */ #include "spacing-spanner.hh" @@ -35,6 +35,10 @@ Spacing_spanner::standard_breakable_column_spacing (Grob *me, Item *l, Item *r, do { + /* + TODO: this is fishy, the extent gets distorted due to wide + \marks, so better not do this. + */ if (!Paper_column::is_musical (cols[d])) { /* @@ -115,7 +119,7 @@ Spacing_spanner::note_spacing (Grob *me, Grob *lc, Grob *rc, if (! shortest_playing_len.to_bool ()) { - programming_error ("can't find a ruling note at " + Paper_column::when_mom (lc).to_string ()); + programming_error ("cannot find a ruling note at: " + Paper_column::when_mom (lc).to_string ()); shortest_playing_len = 1; } @@ -164,7 +168,6 @@ Spacing_spanner::note_spacing (Grob *me, Grob *lc, Grob *rc, { Spacing_options grace_opts; grace_opts.init_from_grob (grace_spacing); - bool bla; dist = grace_opts.get_duration_space (delta_t.grace_part_, &bla); }