]> git.donarmstrong.com Git - lilypond.git/commitdiff
bugfix: don't compare positions with staff space in stem-bar adjustment.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 10:02:10 +0000 (11:02 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 10:25:17 +0000 (11:25 +0100)
lily/note-spacing.cc

index 2700c12835a990362644667ddf8da5df43c903f2..3d62abb0aeaab6fbde91acc0abb8bc84ad7a5bdf 100644 (file)
@@ -355,6 +355,7 @@ Note_spacing::stem_dir_correction (Grob *me, Item *rcolumn,
     {
       stem_dirs[RIGHT] = -stem_dirs[LEFT];
       stem_posns[RIGHT] = bar_yextent;
+      stem_posns[RIGHT] *= 2;
     }
 
   if (correct_stem_dirs && stem_dirs[LEFT] * stem_dirs[RIGHT] == -1)