From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Mon, 31 Aug 2009 14:08:45 +0000 (+0200) Subject: Add the header block to all children, not just the first bookpart X-Git-Tag: release/2.13.4-1~102 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=25be71a2fb35effe9606c03d6d8b2e43cd47ae4c;p=lilypond.git Add the header block to all children, not just the first bookpart --- diff --git a/lily/book.cc b/lily/book.cc index 48a5a4c552..303af1b8e3 100644 --- a/lily/book.cc +++ b/lily/book.cc @@ -127,8 +127,8 @@ Book::set_parent (Book *parent) paper_->unprotect (); } paper_->parent_ = parent->paper_; - /* If this part is the first child of parent, copy its header */ - if (ly_is_module (parent->header_) && (scm_is_null (parent->bookparts_))) + /* Copy the header block of the parent */ + if (ly_is_module (parent->header_)) { SCM tmp_header = ly_make_anonymous_module (false); ly_module_copy (tmp_header, parent->header_);