]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/forbid-break-engraver.cc
* Documentation/user/refman.itely (Automatic note splitting):
[lilypond.git] / lily / forbid-break-engraver.cc
index 0ece1306c58a8a8d5d6bffdd106e6c247d8b9b0b..461b55e9d8eecdb51520c363db2b9efeb03f2299 100644 (file)
@@ -13,10 +13,10 @@ public:
 Forbid_line_break_engraver::Forbid_line_break_engraver(){}
 
 ENTER_DESCRIPTION(Forbid_line_break_engraver,
-/* descr */       "Forbid line breaks when note heads are still playing
-at some point.",
+/* descr */       "Forbid line breaks when note heads are still playing at some point.",
 /* creats*/       "",
-/* acks  */       "",
+/* accepts */     "",
+/* acks  */      "",
 /* reads */       "busyGrobs",
 /* write */       "");
 
@@ -29,7 +29,7 @@ Forbid_line_break_engraver::start_translation_timestep()
   SCM busy = get_property ("busyGrobs");
 
   Moment now = now_mom();
-  while (gh_pair_p (busy) && *unsmob_moment (gh_caar (busy)) == now)
+  while (gh_pair_p (busy) && unsmob_moment (gh_caar (busy))->main_part_ == now.main_part_)
     busy = gh_cdr (busy);