]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-spacing.cc
Fix commit de8fda6a51 to only decrease the amount of whitespace.
[lilypond.git] / 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);
        }
     }