]> git.donarmstrong.com Git - lilypond.git/commitdiff
(set_spacing_rods): oops. Multiply with
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Feb 2006 00:35:42 +0000 (00:35 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Feb 2006 00:35:42 +0000 (00:35 +0000)
direction. Fixes c-lyrics-center-align.ly

ChangeLog
lily/lyric-hyphen.cc

index 55face2c01e7473b6bd4d639dff0a4f1d7426635..d38169da895dba3ddaa8a4778b52ed5b2e1e9181 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-17  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/lyric-hyphen.cc (set_spacing_rods): oops. Multiply with
+       direction. Fixes c-lyrics-center-align.ly
+
 2006-02-16  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * flower/include/std-vector.hh[!HAVE_STL_DATA_METHOD]: Add copy
index f37be209710130af357446b093db9f84b5f9d775..be03b6a39b9793344952022fac335fb7bd0ee659 100644 (file)
@@ -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);