From: Joe Neeman Date: Tue, 10 Jul 2007 07:44:13 +0000 (+1000) Subject: fix 375 X-Git-Tag: release/2.11.28-1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b95816c9949d726195380bf7bceab50fb1bc0b34;p=lilypond.git fix 375 ensure that stem extents are non-empty for the tie-formatting-problem --- diff --git a/lily/tie-formatting-problem.cc b/lily/tie-formatting-problem.cc index 3a8ed37a62..935a1e018c 100644 --- a/lily/tie-formatting-problem.cc +++ b/lily/tie-formatting-problem.cc @@ -171,6 +171,7 @@ Tie_formatting_problem::set_column_chord_outline (vector bounds, Real x_center = head->extent (x_refpoint_, X_AXIS).center (); Interval x_ext; x_ext[-dir] = x_center; + x_ext[dir] = infinity_f * dir; Interval y_ext; for (vsize j = 0; j < head_boxes.size (); j++) y_ext.unite (head_boxes[j][Y_AXIS]);