]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/line-spanner.cc
don't use extent of musical column for horizontal spacing.
[lilypond.git] / lily / line-spanner.cc
index 5bbc1eeaf2652da44c720c597f163c63045a8bdd..db36434b04b252e7a33da6d629d94609ef29f9b2 100644 (file)
@@ -29,7 +29,7 @@ public:
   DECLARE_SCHEME_CALLBACK (calc_left_bound_info_and_text, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_right_bound_info, (SCM));
   DECLARE_SCHEME_CALLBACK (calc_bound_info, (SCM, Direction));
-  DECLARE_GROB_INTERFACE();
+  DECLARE_GROB_INTERFACE ();
 };
 
 
@@ -138,7 +138,7 @@ Line_spanner::calc_bound_info (SCM smob, Direction dir)
       else
        {
          Grob *commony = me->common_refpoint (me->get_bound (dir), Y_AXIS);
-         y = me->get_bound (dir)->extent (commony, Y_AXIS).center();
+         y = me->get_bound (dir)->extent (commony, Y_AXIS).center ();
          details = scm_acons (ly_symbol2scm ("common-Y"), commony->self_scm (), details);
        }