From: Han-Wen Nienhuys Date: Mon, 8 Jan 2007 10:03:00 +0000 (+0100) Subject: Don't mix positions and staff spaces in bar-stem spacing. X-Git-Tag: release/2.11.10-1~8 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=073808f400943b2530ae63955f3293bc526e2dbc;p=lilypond.git Don't mix positions and staff spaces in bar-stem spacing. --- diff --git a/lily/staff-spacing.cc b/lily/staff-spacing.cc index 65c565617c..1cbfee096a 100644 --- a/lily/staff-spacing.cc +++ b/lily/staff-spacing.cc @@ -42,6 +42,9 @@ Staff_spacing::next_note_correction (Grob *me, Item *col = dynamic_cast (g)->get_column (); Real left_stickout_correction = max (0., (- g->extent (col, X_AXIS)[LEFT])); + /* staff space -> positions */ + bar_size *= 2; + /* Duh. If this gets out of hand, we should invent something more generic. */ @@ -110,7 +113,7 @@ Staff_spacing::next_note_correction (Grob *me, Real correction = optical_corr + left_stickout_correction; if (correction) { - wish_count ++; + (*wish_count) ++; /* This minute adjustments don't make sense for widely spaced scores.