DescriptionFix #1427.
The copy constructor for Book assumes the list of objects to clone are
scores, which is unsafe since a \book(part) block can also contain markup and
page markers.
* lily/book.cc (copy constructor):
treat entries in scores_ separately, cloning Score and Page_marker objects
* lily/include/page-marker.hh, lily/page-marker.cc:
add copy constructor
Patch Set 1 #Patch Set 2 : Add regression test. #
MessagesTotal messages: 6
|