From 2862f3a2a909d7bcd0708b567c32221db410002f Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 13 Dec 2005 16:09:45 +0000 Subject: [PATCH] (acknowledge_stem): use ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly --- ChangeLog | 3 +++ lily/chord-tremolo-engraver.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.39.5