]> git.donarmstrong.com Git - lilypond.git/commitdiff
(acknowledge_stem): use
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 13 Dec 2005 16:09:45 +0000 (16:09 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 13 Dec 2005 16:09:45 +0000 (16:09 +0000)
ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly

ChangeLog
lily/chord-tremolo-engraver.cc

index 9e27e68e496c23043c37239d6d76944eda784f0f..0b70d158b8f5e1b02cdeb4309d79720c572f5668 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-13  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * 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
index 5e73d87eec1456a23e3d9386d825896c14a237c2..35b8503b85d9a0e7a8b80b61a1e0660b0ef4faea 100644 (file)
@@ -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
        {