]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/simple-spacer.cc
duh
[lilypond.git] / lily / simple-spacer.cc
index 893b8cb0fd7e25c2f4ebccfb44dcb50cf81b614a..a44e9f8d7546d8262d7a74af30fae5226a9f82c9 100644 (file)
@@ -342,6 +342,10 @@ Simple_spacer::solve (Column_x_positions *positions, bool ragged)
       */
     }
 
+  /*
+    For raggedright, we must have a measure of music density: this is
+    to prevent lots of short lines (which all have force = 0).
+    */
   if (ragged && line_len_ > 0)
     {
       Real len = positions->config_.top ();
@@ -351,10 +355,8 @@ Simple_spacer::solve (Column_x_positions *positions, bool ragged)
 
   positions->cols_ = spaced_cols_;
   positions->loose_cols_ = loose_cols_;
-  
   positions->satisfies_constraints_b_ = (line_len_ < 0) || active_b ();
 
-
   /*
     Check if breaking constraints are met.
    */