From: Han-Wen Nienhuys Date: Fri, 17 Feb 2006 00:35:42 +0000 (+0000) Subject: (set_spacing_rods): oops. Multiply with X-Git-Tag: release/2.7.35~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c6fea7e593dfb8d49ad5ac4bf2628f18fa6989ac;p=lilypond.git (set_spacing_rods): oops. Multiply with direction. Fixes c-lyrics-center-align.ly --- diff --git a/ChangeLog b/ChangeLog index 55face2c01..d38169da89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-17 Han-Wen Nienhuys + + * lily/lyric-hyphen.cc (set_spacing_rods): oops. Multiply with + direction. Fixes c-lyrics-center-align.ly + 2006-02-16 Jan Nieuwenhuizen * flower/include/std-vector.hh[!HAVE_STL_DATA_METHOD]: Add copy diff --git a/lily/lyric-hyphen.cc b/lily/lyric-hyphen.cc index f37be20971..be03b6a39b 100644 --- a/lily/lyric-hyphen.cc +++ b/lily/lyric-hyphen.cc @@ -117,7 +117,7 @@ Hyphen_spanner::set_spacing_rods (SCM smob) { r.item_drul_[d] = sp->get_bound (d); if (r.item_drul_[d]) - r.distance_ += r.item_drul_[d]->extent (r.item_drul_[d], X_AXIS)[-d]; + r.distance_ += -d * r.item_drul_[d]->extent (r.item_drul_[d], X_AXIS)[-d]; } while (flip (&d) != LEFT);