From 27fee9a13be0d4754d3e30f3edd6d21d708a24d5 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 14 Sep 2015 17:35:02 +0200 Subject: [PATCH] Avoid segfault for cleared vertical-skylines in add_grobs_of_one_priority --- lily/axis-group-interface.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/axis-group-interface.cc b/lily/axis-group-interface.cc index c9c56858a1..e842cb6d80 100644 --- a/lily/axis-group-interface.cc +++ b/lily/axis-group-interface.cc @@ -797,7 +797,7 @@ add_grobs_of_one_priority (Grob *me, last_end[dir] = x_extent[RIGHT]; Skyline_pair *v_orig = unsmob (elt->get_property ("vertical-skylines")); - if (v_orig->is_empty ()) + if (!v_orig || v_orig->is_empty ()) continue; // Find the riders associated with this grob, and merge their -- 2.39.5