X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrace-spacing-engraver.cc;h=a2a333c782cf88560ce9dd0f7579abba92dadec6;hb=58d1c2f39c091da0325d54b19476ee7532d8889f;hp=f86b12ef22287b4a16ba7547d05bd3cbb4dca294;hpb=68f8545bd6a0221ee1100336e4ad49399a7ffaa4;p=lilypond.git diff --git a/lily/grace-spacing-engraver.cc b/lily/grace-spacing-engraver.cc index f86b12ef22..a2a333c782 100644 --- a/lily/grace-spacing-engraver.cc +++ b/lily/grace-spacing-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Han-Wen + (c) 2006--2009 Han-Wen */ @@ -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); } } @@ -65,15 +70,15 @@ Grace_spacing_engraver::stop_translation_timestep () ADD_TRANSLATOR (Grace_spacing_engraver, - "Bookkeeping of shortest starting and playing notes in grace note runs.", + "Bookkeeping of shortest starting and playing notes in grace" + " note runs.", /* create */ "GraceSpacing ", - - /* accept */ - "", /* read */ "currentMusicalColumn ", - /* write */ ""); + /* write */ + "" + );