X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-options.cc;h=a3e512525b5c8352a825e08f81f2fc95cfbedcf5;hb=419ab1be077ad383bc5a3eda3c3e982507ab3e17;hp=9a73ad6d7f70abd51e00cd5e2031a6239c52d3c7;hpb=fff60a761b1e447aa316ab55e64bf8c419e69950;p=lilypond.git diff --git a/lily/spacing-options.cc b/lily/spacing-options.cc index 9a73ad6d7f..a3e512525b 100644 --- a/lily/spacing-options.cc +++ b/lily/spacing-options.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Han-Wen Nienhuys + (c) 2006--2007 Han-Wen Nienhuys */ @@ -35,8 +35,6 @@ Spacing_options::init_from_grob (Grob *me) global_shortest_ = shortest_dur.main_part_; else global_shortest_ = shortest_dur.grace_part_; - - columns_ = Spacing_spanner::get_columns (me); // ugh. } Spacing_options::Spacing_options () @@ -58,8 +56,7 @@ Spacing_options::Spacing_options () Get the measure wide ant for arithmetic spacing. */ Real -Spacing_options::get_duration_space (Rational d, - bool *expand_only) const +Spacing_options::get_duration_space (Rational d) const { Real k = shortest_duration_space_; @@ -94,7 +91,6 @@ Spacing_options::get_duration_space (Rational d, */ Real log = log_2 (global_shortest_); k -= log; - *expand_only = false; return (log_2 (d) + k) * increment_; }