]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix commit de8fda6a51 to only decrease the amount of whitespace.
authorJoe Neeman <joeneeman@gmail.com>
Thu, 16 Aug 2007 21:47:14 +0000 (07:47 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Thu, 16 Aug 2007 21:47:14 +0000 (07:47 +1000)
lily/note-spacing.cc

index d19f63e632827d5fd50c2bc4af12c6713440bd09..cd97c179704a9feca75780ed2545215c87b1193d 100644 (file)
@@ -84,7 +84,7 @@ Note_spacing::get_spacing (Grob *me, Item *right_col,
        {
          Real shift = bar->extent (right_col, X_AXIS)[LEFT];
          ideal -= shift;
-         min_desired_space -= shift;
+         min_desired_space -= max (shift, 0.0);
        }
     }