]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-hyphen.cc
(set_spacing_rods): oops. Multiply with
[lilypond.git] / lily / lyric-hyphen.cc
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);