]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hyphen-spanner.cc
patch::: 1.3.32.hwn2
[lilypond.git] / lily / hyphen-spanner.cc
index 65470ea81c4204e414228bf39055ff20d45e2425..3fd4f63bc992c59cd6fa08a3c25fd4125b3a2fcd 100644 (file)
@@ -65,8 +65,8 @@ Hyphen_spanner::do_post_processing ()
   Direction d = LEFT;
   do
     {
-      Item* t = spanned_drul_[d]
-       ? spanned_drul_[d] : spanned_drul_[(Direction)-d];
+      Item* t = get_bound (d)
+       ? get_bound (d) : get_bound ((Direction)-d);
       if (d == LEFT)
         dx_f_drul_[d] += t->extent (X_AXIS).length ();
       else
@@ -79,7 +79,7 @@ Hyphen_spanner::do_post_processing ()
 void
 Hyphen_spanner::set_textitem (Direction d, Item* textitem_l)
 {
-  set_bounds (d, textitem_l);
+  set_bound (d, textitem_l);
   add_dependency (textitem_l);
 }