]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/optimal-page-breaking.cc
use trap to remove tmp directory on failure to avoid hiding mpost
[lilypond.git] / lily / optimal-page-breaking.cc
index 275adaeb4e689f4abd3bff95b43fcb9cea831f82..2b0910f8873600feebf136424c8ffa823d0f93d6 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2006--2011 Joe Neeman <joeneeman@gmail.com>
+  Copyright (C) 2006--2012 Joe Neeman <joeneeman@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -161,8 +161,7 @@ Optimal_page_breaking::solve ()
     }
 
   /* try a larger number of systems than the ideal line breaking number. This
-     is more or less C&P, but the loop bounds make it difficult to try something
-     like do {...} while (flip(&d) != UP). */
+     is more or less C&P. */
   bound = ideal_line_division;
   for (vsize sys_count = ideal_sys_count + 1; sys_count <= max_sys_count; sys_count++)
     {