X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspan-bar-engraver.cc;h=5378eab765cdfee0569dbfccf868b7f1f7a8f64d;hb=1dbfe58548c0dbea3a09c94eb03113aaaaa73c75;hp=179da16f890e097dac88b30e865185b48634f023;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/span-bar-engraver.cc b/lily/span-bar-engraver.cc index 179da16f89..5378eab765 100644 --- a/lily/span-bar-engraver.cc +++ b/lily/span-bar-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2009 Han-Wen Nienhuys + Copyright (C) 1997--2011 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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);