]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-iterator.cc
release commit
[lilypond.git] / lily / percent-repeat-iterator.cc
index d09e6c8f3b5f80fa7fbd7469094ec07aa893df95..0f40fba6d28eed53efdcd420e28e2da7cfad923d 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2001--2002  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2001--2003  Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -48,7 +48,7 @@ void
 Percent_repeat_iterator::construct_children ()
 {
   Repeated_music * mus =dynamic_cast<Repeated_music *> (get_music ());
-  finish_mom_ = mus->length_mom ();
+  finish_mom_ = mus->get_length ();
   child_iter_ = unsmob_iterator (get_iterator (mus->body ()));
 }