]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/piano-pedal-bracket.cc
Docs: lilyquote -> quote snippet option
[lilypond.git] / lily / piano-pedal-bracket.cc
index fee4c4b762637bf0b417de7880df1be1e96485f8..312459e67ba7addd5f9a4cd23eb021d870f8d807 100644 (file)
@@ -65,10 +65,11 @@ Piano_pedal_bracket::print (SCM smob)
             height[d] = 0.0;
           else
             flare[d] = 0.0;
-        }
 
-      Interval ext = robust_relative_extent (b, common, X_AXIS);
-      span_points[d] = ext [broken[d] ? RIGHT : LEFT];
+          span_points[d] = robust_relative_extent (b, common, X_AXIS)[RIGHT];
+        }
+      else
+        span_points[d] = b->relative_coordinate (common, X_AXIS);
     }
   while (flip (&d) != LEFT);