]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus.cc
fix typos.
[lilypond.git] / lily / ambitus.cc
index e8124d145f929b23874686f092b6efba8ec49d59..3c40cce7a1ab1758a5c5337ab0fd98aabb5c95e8 100644 (file)
@@ -49,9 +49,9 @@ Ambitus::print (SCM smob)
       
       if (pmin < pmax)
        {
-         Real linethickness = me->get_paper ()->get_dimension (ly_symbol2scm ("linethickness"))
+         Real linethickness = me->get_layout ()->get_dimension (ly_symbol2scm ("linethickness"))
            * robust_scm2double (me->get_property ("thickness"), 1.0); 
-         Real blotdiameter = me->get_paper ()->get_dimension (ly_symbol2scm ("blotdiameter"));
+         Real blotdiameter = me->get_layout ()->get_dimension (ly_symbol2scm ("blotdiameter"));
          Interval x_extent = 0.5 * linethickness *Interval (-1,1);
          Interval y_extent = Interval (pmin, pmax);
          Box line_box (x_extent, y_extent);