From: David Nalesnik Date: Mon, 14 Apr 2014 21:54:43 +0000 (-0500) Subject: Fix calculation of X-extent of AccidentalPlacement. X-Git-Tag: release/2.19.7-1~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ddc70a9d2f23562fea4b4afaef76ef609fb19fc7;p=lilypond.git Fix calculation of X-extent of AccidentalPlacement. Previously, the offsets used for staggered placement of accidentals were not included in the calculation of the width of AccidentalPlacement grobs. --- diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc index f954defc65..6fa61e967d 100644 --- a/lily/accidental-placement.cc +++ b/lily/accidental-placement.cc @@ -418,7 +418,7 @@ position_apes (Grob *me, { Real mh = ape->horizontal_skylines_[d].max_height (); if (!isinf (mh)) - width.add_point (mh); + width.add_point (mh + offset); } last_offset = offset;