]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hyphen-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / hyphen-engraver.cc
index 27572d852fc5fb0ec82899d2519579bb1b2196e4..e4f4f3a9918656e9923eabfcb711f44a0e45eecb 100644 (file)
@@ -9,11 +9,11 @@
 */
 
 #include "engraver.hh"
-
-#include "warn.hh"
+#include "international.hh"
 #include "item.hh"
-#include "spanner.hh"
 #include "pointer-group-interface.hh"
+#include "spanner.hh"
+#include "warn.hh"
 
 class Hyphen_engraver : public Engraver
 {
@@ -77,7 +77,7 @@ completize_hyphen (Spanner *sp)
     {
       extract_item_set (sp, "heads", heads);
       if (heads.size ())
-       sp->set_bound (RIGHT, heads.top ());
+       sp->set_bound (RIGHT, heads.back ());
     }
 }