]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item.cc
*** empty log message ***
[lilypond.git] / lily / item.cc
index e94b5bc26762862fd4e38a8a4406bfc5c590b690..d478d682e23ac07195c3af4e4e41408804d53ed7 100644 (file)
@@ -24,7 +24,7 @@ Item::clone (int count) const
 Item::Item (SCM s, Object_key const *key)
   : Grob (s, key)
 {
-  broken_to_drul_[LEFT] = broken_to_drul_[RIGHT]= 0;
+  broken_to_drul_[LEFT] = broken_to_drul_[RIGHT] = 0;
   Group_interface::add_thing (this, ly_symbol2scm ("interfaces"), ly_symbol2scm ("item-interface"));
 }
 
@@ -74,10 +74,11 @@ Item::copy_breakable_items ()
     {
       Grob *dolly = clone (count++);
       Item *item = dynamic_cast<Item *> (dolly);
-      pscore_->system_->typeset_grob (item);
+      pscore_->root_system ()->typeset_grob (item);
       new_copies[i] = item;
     }
   while (flip (&i) != LEFT);
+
   broken_to_drul_ = new_copies;
 }