]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-extender.cc
* configure.in (--enable-std-vector): New option.
[lilypond.git] / lily / lyric-extender.cc
index c1aa2095637d1825eea28d62b71d93b98585755e..051e1231cbdfd9905961081c2880bbcca3a023fa 100644 (file)
@@ -57,7 +57,7 @@ Lyric_extender::print (SCM smob)
     = left_point + (robust_scm2double (minlen, 0));
 
   if (heads.size ())
-    right_point = max (right_point, heads.top ()->extent (common, X_AXIS)[RIGHT]);
+    right_point = max (right_point, heads.back ()->extent (common, X_AXIS)[RIGHT]);
 
   Real h = sl * robust_scm2double (me->get_property ("thickness"), 0);
   Real pad = 2* h;