source file of the GNU LilyPond music typesetter
- (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
{
if (!spacing_)
{
- spacing_ =make_spanner ("SpacingSpanner");
+ spacing_ = make_spanner ("SpacingSpanner");
spacing_->set_bound (LEFT, unsmob_grob (get_property ("currentCommandColumn")));
announce_grob(spacing_, SCM_EOL);
}
}
+
void
Spacing_engraver::finalize ()
{
- Grob * p = unsmob_grob (get_property ("currentCommandColumn"));
- spacing_->set_bound (RIGHT, p);
- typeset_grob (spacing_);
- spacing_ =0;
+ if (spacing_)
+ {
+ Grob * p = unsmob_grob (get_property ("currentCommandColumn"));
+
+ spacing_->set_bound (RIGHT, p);
+ typeset_grob (spacing_);
+ spacing_ =0;
+ }
}
void