X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-loose-columns.cc;h=a59fa7d0f9350734baa6717ab25017ed25ec59cf;hb=4790df2a2c3cdcd14479e8ece60a99ab803f6197;hp=ee19b29ab766c14176bab2c7b7dce116ad463a23;hpb=7a32d3103c22d916cec37d1d7bb7e5cd4dc0463a;p=lilypond.git diff --git a/lily/spacing-loose-columns.cc b/lily/spacing-loose-columns.cc index ee19b29ab7..a59fa7d0f9 100644 --- a/lily/spacing-loose-columns.cc +++ b/lily/spacing-loose-columns.cc @@ -127,14 +127,11 @@ set_loose_columns (System *which, Column_x_positions const *posns) &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,