]> git.donarmstrong.com Git - lilypond.git/commitdiff
thinko.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 31 Dec 2006 11:21:06 +0000 (12:21 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 31 Dec 2006 11:21:06 +0000 (12:21 +0100)
lily/spacing-loose-columns.cc

index c32b60639c32e8065ac2e8df541559d8ebeb9066..069ff0e231001d87c423fefeba70c5de82c15912 100644 (file)
@@ -66,9 +66,10 @@ set_loose_columns (System *which, Column_x_positions const *posns)
          loose = right = re->get_column ();
        }
 
-      if (!right->get_system ()
-         && right->find_prebroken_piece (LEFT)
-         && right->find_prebroken_piece (LEFT)->get_system () == which)
+      if (right->get_system ())
+       ; /* do nothing */
+      else if (right->find_prebroken_piece (LEFT)
+              && right->find_prebroken_piece (LEFT)->get_system () == which)
        right = right->find_prebroken_piece (LEFT);
       else if (Paper_column::get_rank (which->get_bound (RIGHT)) < Paper_column::get_rank (right))