]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/minimal-page-breaking.cc
Run `make grand-replace'.
[lilypond.git] / lily / minimal-page-breaking.cc
index 0826e181901069adcbcfbd24b72fea4149e452a2..c25da7cb18180fdcaf14d7193c8a2eb225ee2627 100644 (file)
@@ -5,7 +5,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2007 Nicolas Sceaux <nicolas.sceaux@free.fr>
+  (c) 2007--2008 Nicolas Sceaux <nicolas.sceaux@free.fr>
 */
 
 #include "international.hh"
@@ -40,7 +40,7 @@ Minimal_page_breaking::solve ()
   break_into_pieces (0, end, current_configuration (0));
 
   message (_ ("Computing page breaks..."));
-  vsize first_page_num = robust_scm2int (book_->paper_->c_variable ("part-first-page-number"), 1);
+  vsize first_page_num = robust_scm2int (book_->paper_->c_variable ("first-page-number"), 1);
   Page_spacing_result res = pack_systems_on_least_pages (0, first_page_num);
   SCM lines = systems ();
   return make_pages (res.systems_per_page_, lines);