]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-spacing.cc
Fixes from mailist.
[lilypond.git] / lily / staff-spacing.cc
index 65c565617c428aa09531fd94bb7cc141787e0576..79e70286445b3844169be78dea600fa7261defe7 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2001--2006  Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2001--2007  Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "staff-spacing.hh"
@@ -42,6 +42,9 @@ Staff_spacing::next_note_correction (Grob *me,
   Item *col = dynamic_cast<Item *> (g)->get_column ();
   Real left_stickout_correction = max (0., (- g->extent (col, X_AXIS)[LEFT]));
 
+  /* staff space -> positions */
+  bar_size *= 2;
+
   /*
     Duh. If this gets out of hand, we should invent something more generic.
   */
@@ -110,7 +113,7 @@ Staff_spacing::next_note_correction (Grob *me,
   Real correction = optical_corr + left_stickout_correction;
   if (correction)
     {
-      wish_count ++; 
+      (*wish_count) ++; 
 
       /*
        This minute adjustments don't make sense for widely spaced scores.