summaryrefslogtreecommitdiff
path: root/lily/page-turn-page-breaking.cc
diff options
context:
space:
mode:
authorGraham Percival <graham@percival-music.ca>2010-12-14 15:31:33 +0000
committerGraham Percival <graham@percival-music.ca>2010-12-14 15:31:33 +0000
commit5d1bf24ececf8eb98890afcb2dbaef79e69f9d7b (patch)
tree9e6dc1e2db0b561ba3991854063d41b1b92fab01 /lily/page-turn-page-breaking.cc
parent93ff9b7a0c29d807832b67a584e83820b7472443 (diff)
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.
Diffstat (limited to 'lily/page-turn-page-breaking.cc')
-rw-r--r--lily/page-turn-page-breaking.cc3
1 files changed, 3 insertions, 0 deletions
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<Break_node> *psoln)
SCM
Page_turn_page_breaking::make_pages (vector<Break_node> const &soln, SCM systems)
{
+ if (scm_is_null (systems))
+ return SCM_EOL;
+
vector<vsize> lines_per_page;
for (vsize i = 0; i < soln.size (); i++)
{