]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/minimal-page-breaking.cc
Book parts: take account of http://codereview.appspot.com/4848 review
[lilypond.git] / lily / minimal-page-breaking.cc
index 0826e181901069adcbcfbd24b72fea4149e452a2..870340f83d352aab22e54e1d1a5a62a9738d41fe 100644 (file)
@@ -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);