]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grace-spacing-engraver.cc
label&page-ref: apply label to the next score or markup, iso. to the previous one.
[lilypond.git] / lily / grace-spacing-engraver.cc
index 0e1f8740c54ac847f094dadc58ba9f7dcb290c3c..689f76212f28e1e3b3c612e019352f9c760c3e11 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2006 Han-Wen <hanwen@lilypond.org>
+  (c) 2006--2007 Han-Wen <hanwen@lilypond.org>
 
 */
 
@@ -51,6 +51,11 @@ Grace_spacing_engraver::process_music ()
                                         column);
 
       column->set_object ("grace-spacing", grace_spacing_->self_scm ());
+
+      if (!grace_spacing_->get_bound (LEFT))
+       grace_spacing_->set_bound (LEFT, column);
+      else
+       grace_spacing_->set_bound (RIGHT, column);
     }
 }