X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-turn-page-breaking.cc;h=d2e501cb65d034bcb8c63a52aa6e0418bf19c3c9;hb=222b0bff12be16c385df77f4cfa89101aafeece7;hp=75e1a3bbf28204e5d6a52e36fba7a793d27ec020;hpb=7ce72b4325ac54d7f26770430d9bd632cb9cdb29;p=lilypond.git diff --git a/lily/page-turn-page-breaking.cc b/lily/page-turn-page-breaking.cc index 75e1a3bbf2..d2e501cb65 100644 --- a/lily/page-turn-page-breaking.cc +++ b/lily/page-turn-page-breaking.cc @@ -122,7 +122,7 @@ Page_turn_page_breaking::calc_subproblem (vsize ending_breakpoint) if (start > 0 && best.demerits_ < state_[start-1].demerits_) continue; - int p_num = robust_scm2int (book_->paper_->c_variable ("first-page-number"), 1); + int p_num = robust_scm2int (book_->paper_->c_variable ("part-first-page-number"), 1); if (start > 0) { /* except possibly for the first page, enforce the fact that first_page_number_ @@ -260,7 +260,7 @@ Page_turn_page_breaking::make_pages (vector const &soln, SCM systems /* this should only actually modify first-page-number if auto-first-page-number was true. */ - book_->paper_->set_variable (ly_symbol2scm ("first-page-number"), + book_->paper_->set_variable (ly_symbol2scm ("part-first-page-number"), scm_from_int (soln[0].first_page_number_)); return Page_breaking::make_pages (lines_per_page, systems); }