]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem-engraver.cc
* input/regression/tie-chord.ly: use generateTiePattern to
[lilypond.git] / lily / stem-engraver.cc
index 052f4d653c3b0f53ca6fba634eb7d99ff4c386ec..41a1107d9dc31cc6335a7bd5ad8c6a1f81a37555 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "context.hh"
@@ -51,7 +51,7 @@ Stem_engraver::make_stem (Grob_info gi)
 {
   /* Announce the cause of the head as cause of the stem.  The
      stem needs a rhythmic structure to fit it into a beam.  */
-  stem_ = make_item ("Stem", gi.music_cause ()->self_scm ());
+  stem_ = make_item ("Stem", gi.grob ()->self_scm ());
 
   /*
     we take the duration log from the Event, since the duration-log
@@ -169,7 +169,9 @@ Stem_engraver::try_music (Music *m)
 }
 
 #include "translator.icc"
+
 ADD_ACKNOWLEDGER (Stem_engraver, rhythmic_head);
+
 ADD_TRANSLATOR (Stem_engraver,
                /* doc */ "Create stems and single-stem tremolos.  It also works together with "
                "the beam engraver for overriding beaming.",