]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spanner.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / spanner.cc
index 2c49aacad7d836e4ba8520fdf53feab8ef2bbc77..967fc62179dbaed6384acbaeb617b0168840da52 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "spanner.hh"
@@ -80,7 +80,8 @@ Spanner::do_break_processing ()
     }
   else
     {
-      Link_array<Item> break_points = pscore_->root_system ()->broken_col_range (left, right);
+      System *root  = get_root_system (this);
+      Link_array<Item> break_points = root->broken_col_range (left, right);
 
       break_points.insert (left, 0);
       break_points.push (right);