X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-loose-columns.cc;h=a59fa7d0f9350734baa6717ab25017ed25ec59cf;hb=992f7fc4310a5e96d8f9632a9bd78f163003f18a;hp=3a69e26802aa46cd42ad2e78bd58df58efd3beed;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/lily/spacing-loose-columns.cc b/lily/spacing-loose-columns.cc index 3a69e26802..a59fa7d0f9 100644 --- a/lily/spacing-loose-columns.cc +++ b/lily/spacing-loose-columns.cc @@ -119,23 +119,19 @@ set_loose_columns (System *which, Column_x_positions const *posns) else programming_error ("Column without spacing object"); - bool expand_only = false; Real base_note_space = 0.0; if (Paper_column::is_musical (next_col) && Paper_column::is_musical (loose_col)) - base_note_space = Spacing_spanner::note_spacing (spacing, loose_col, next_col, - &options, &expand_only); + base_note_space = Spacing_spanner::note_spacing (spacing, loose_col, next_col, + &options); else { - Real fixed, space; - - Spacing_spanner::standard_breakable_column_spacing (spacing, - loose_col, next_col, - &fixed, &space, - &options); - - base_note_space = space; + Spring spring = Spacing_spanner::standard_breakable_column_spacing (spacing, + loose_col, next_col, + &options); + + base_note_space = spring.distance (); } base_note_space = max (base_note_space,