]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hyphen-engraver.cc
* lily/tuplet-bracket.cc (brew_molecule): call after_line_breaking
[lilypond.git] / lily / hyphen-engraver.cc
index 0f7227d83dc12932bcc91a3fe694a3c0d287fa8c..b5f7fd1e2c8e9520bf2f5c260ea05fb85d8d14cc 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999-2002 Glen Prideaux <glenprideaux@iname.com>
+  (c)  1999--2003 Glen Prideaux <glenprideaux@iname.com>
 */
 
 #include "flower-proto.hh"
@@ -60,10 +60,9 @@ Hyphen_engraver::acknowledge_grob (Grob_info i)
     {
       current_lyric_ = i.grob_;
       if (hyphen_
-         && !hyphen_->get_bound (RIGHT)
-           )
+         && !hyphen_->get_bound (RIGHT))
          {
-           Hyphen_spanner (hyphen_).set_textitem (RIGHT, i.grob_);
+           hyphen_->set_bound (RIGHT, i.grob_);
          }
     }
 }
@@ -102,7 +101,7 @@ Hyphen_engraver::process_acknowledged_grobs ()
       
       hyphen_ = new Spanner (get_property ("LyricHyphen"));
 
-      Hyphen_spanner (hyphen_).set_textitem (LEFT, last_lyric_);
+      hyphen_->set_bound (LEFT, last_lyric_);
       announce_grob(hyphen_, req_->self_scm());
     }
 }