From 25be71a2fb35effe9606c03d6d8b2e43cd47ae4c Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Mon, 31 Aug 2009 16:08:45 +0200 Subject: [PATCH] Add the header block to all children, not just the first bookpart --- lily/book.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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_); -- 2.39.5