]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/optimal-page-breaking.cc
regression fixes and output prettification
[lilypond.git] / lily / optimal-page-breaking.cc
index 0e4f06dbcb8d7e153805d7f4329a322009561fe4..d9aec185505b928192fbc35354a19fcb01bf1a21 100644 (file)
@@ -62,7 +62,11 @@ Optimal_page_breaking::solve ()
   if (page_count > 1)
     min_sys_count -= best.systems_per_page_[page_count - 2];
 
-  message (_f ("Fitting music on %d (or one fewer) pages...", (int)page_count));
+  if (page_count == 1)
+    message (_ ("Fitting music on 1 page..."));
+  else
+    message (_f ("Fitting music on %d or %d pages...", (int)page_count-1, (int)page_count));
+
   /* try a smaller number of systems than the ideal number for line breaking */
   bound = ideal_line_division;
   for (vsize sys_count = ideal_sys_count; --sys_count >= min_sys_count;)