From 5d1bf24ececf8eb98890afcb2dbaef79e69f9d7b Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Tue, 14 Dec 2010 15:31:33 +0000 Subject: Fix bookpart identifier crash with page-marker (1440) Patch from Neil, with assistance from Carl. I'm committing this now so that I can get another release out. --- lily/page-turn-page-breaking.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lily/page-turn-page-breaking.cc') diff --git a/lily/page-turn-page-breaking.cc b/lily/page-turn-page-breaking.cc index 9338a38bfc..e57c0cbf2f 100644 --- a/lily/page-turn-page-breaking.cc +++ b/lily/page-turn-page-breaking.cc @@ -269,6 +269,9 @@ Page_turn_page_breaking::make_lines (vector *psoln) SCM Page_turn_page_breaking::make_pages (vector const &soln, SCM systems) { + if (scm_is_null (systems)) + return SCM_EOL; + vector lines_per_page; for (vsize i = 0; i < soln.size (); i++) { -- cgit v1.2.3