]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/optimal-page-breaking.cc
Fix 1460.
[lilypond.git] / lily / optimal-page-breaking.cc
index e9010aec09345ef715d247a20a0a854d34bc5956..65663798b3ae2b3de61bb04c143f85853da39bc7 100644 (file)
@@ -59,10 +59,7 @@ Optimal_page_breaking::solve ()
       /* find out the ideal number of pages */
       message (_ ("Finding the ideal number of pages..."));
   
-      if (systems_per_page () > 0)
-       best = space_systems_with_fixed_number_per_page (0, first_page_num);
-      else
-       best = space_systems_on_best_pages (0, first_page_num);
+      best = space_systems_on_best_pages (0, first_page_num);
 
       page_count = best.systems_per_page_.size ();
       ideal_sys_count = best.system_count ();