]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix 883.
authorJoe Neeman <joeneeman@gmail.com>
Thu, 7 Jan 2010 01:10:00 +0000 (12:10 +1100)
committerJoe Neeman <joeneeman@gmail.com>
Thu, 7 Jan 2010 03:47:06 +0000 (14:47 +1100)
Fix Stem::pure_height to include the whole chord.

lily/stem.cc

index 77c53006f0eac53433c95a115061f23ff7806b71..890a320b245401f973af7e2ee532c31a4ee7af00 100644 (file)
@@ -265,7 +265,10 @@ Stem::pure_height (SCM smob,
        iv = Interval (-len, 0);
 
       if (!hp.is_empty ())
-       iv.translate (hp[dir] * ss / 2);
+       {
+         iv.translate (hp[dir] * ss / 2);
+         iv.add_point (hp[-dir] * ss / 2);
+       }
 
       /* extend the stem (away from the head) to cover the staff */
       if (dir == UP)