From: Han-Wen Nienhuys Date: Tue, 13 Dec 2005 16:09:45 +0000 (+0000) Subject: (acknowledge_stem): use X-Git-Tag: release/2.7.23~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2862f3a2a909d7bcd0708b567c32221db410002f;p=lilypond.git (acknowledge_stem): use ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly --- diff --git a/ChangeLog b/ChangeLog index 9e27e68e49..0b70d158b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-12-13 Han-Wen Nienhuys + * lily/chord-tremolo-engraver.cc (acknowledge_stem): use + ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly + * Documentation/topdocs/NEWS.tely (Top): document new feature. * lily/tie-formatting-problem.cc (score_ties): new function diff --git a/lily/chord-tremolo-engraver.cc b/lily/chord-tremolo-engraver.cc index 5e73d87eec..35b8503b85 100644 --- a/lily/chord-tremolo-engraver.cc +++ b/lily/chord-tremolo-engraver.cc @@ -153,7 +153,7 @@ Chord_tremolo_engraver::acknowledge_stem (Grob_info info) if (Stem::duration_log (s) != 1) beam_->set_property ("gap-count", scm_from_int (flags_ - total_duration_flags_)); - if (info.music_cause ()->is_mus_type ("rhythmic-event")) + if (info.ultimate_music_cause ()->is_mus_type ("rhythmic-event")) Beam::add_stem (beam_, s); else {