From 9403281c7c8998d70c65dc45689217c36b87c98b Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 3 Apr 2005 20:47:54 +0000 Subject: [PATCH] (add_columns): also compare directly. Column rank doesn't distinguish between broken and unbroken columns. This fixes large spaces before time sig changes. --- lily/simple-spacer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))); } -- 2.39.2