]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-spanner.cc
(shift_region_to_valid): divide by zero fix. This
[lilypond.git] / lily / spacing-spanner.cc
index 80a4511a79bc5cf33e3d86e887cd7398628d61f4..108454d63e5d77666264b17b1b04861c33445667 100644 (file)
@@ -414,6 +414,11 @@ Spacing_spanner::breakable_column_spacing (Grob *me, Item *l, Item *r,
       compound_fixed /= wish_count;
     }
 
+  if (options->uniform_ && l->break_status_dir () != RIGHT)
+    {
+      compound_fixed = 0.0;
+    }
+  
   assert (!isinf (compound_space));
   compound_space = max (compound_space, compound_fixed);