From: Patrick McCarty Date: Thu, 17 Dec 2009 08:09:14 +0000 (-0800) Subject: Fix #909. X-Git-Tag: release/2.13.10-1~167 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fc4d3f999aa4044bab4d26be3922a5441a6a6891;p=lilypond.git Fix #909. In the acknowledger for the bar-line-interface, a check to see if the acknowledged grob contains the bar-line-interface is superfluous. Instead, filter out SpanBar grobs (with a span-bar-interface check) in the acknowledger so that SpanBars are not added to bars_ if more than one Span_bar_engraver exists in a context. --- diff --git a/lily/span-bar-engraver.cc b/lily/span-bar-engraver.cc index 179da16f89..6b6813868b 100644 --- a/lily/span-bar-engraver.cc +++ b/lily/span-bar-engraver.cc @@ -51,7 +51,7 @@ void Span_bar_engraver::acknowledge_bar_line (Grob_info i) { int depth = i.origin_contexts (this).size (); - if (depth && Bar_line::has_interface (i.grob ())) + if (depth && !Span_bar::has_interface (i.grob ())) { Item *it = dynamic_cast (i.grob ()); bars_.push_back (it);