X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fconstrained-breaking.cc;h=f8d4b0f5b2280d10ca669a1cb1678b3bdd5dc7ab;hb=6bace571dd3cd34373f0f21d1a7f0f1a21b80605;hp=8d3b6967e42a05f37e308e6926a3d532b6c729b7;hpb=dcace4c82a3d5dfa679a3331128c98febbec925c;p=lilypond.git diff --git a/lily/constrained-breaking.cc b/lily/constrained-breaking.cc index 8d3b6967e4..f8d4b0f5b2 100644 --- a/lily/constrained-breaking.cc +++ b/lily/constrained-breaking.cc @@ -572,7 +572,7 @@ Line_details::Line_details (Prob *pb, Output_def *paper) last_column_ = 0; force_ = 0; Stencil *st = unsmob_stencil (pb->get_property ("stencil")); - Interval stencil_extent = st->is_empty () ? Interval (0, 0) + Interval stencil_extent = st->is_empty (Y_AXIS) ? Interval (0, 0) : st->extent (Y_AXIS); shape_ = Line_shape (stencil_extent, stencil_extent); // pretend it goes all the way across tallness_ = 0;