From: hanwen Date: Sun, 3 Apr 2005 20:47:54 +0000 (+0000) Subject: (add_columns): also compare X-Git-Tag: release/2.5.23~236 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=21c38a217510b1757a755b346d254da10cfff9a5;p=lilypond.git (add_columns): also compare directly. Column rank doesn't distinguish between broken and unbroken columns. This fixes large spaces before time sig changes. --- diff --git a/lily/simple-spacer.cc b/lily/simple-spacer.cc index 2b2529555c..f641f854b0 100644 --- a/lily/simple-spacer.cc +++ b/lily/simple-spacer.cc @@ -423,7 +423,8 @@ Simple_spacer_wrapper::add_columns (Link_array const &icols) { Grob *other = unsmob_grob (scm_caar (s)); int oi = binsearch_links (cols, other, &compare_paper_column_rank); - if (oi >= 0) + if (oi >= 0 + && cols[oi] == other) { spacer_->add_rod (i, oi, scm_to_double (scm_cdar (s))); }