From 36355f3d0c23357fccf2c76b3e9605a41cae519d Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 21 Dec 2022 18:00:37 +0100 Subject: 2022-12-21 17:12:00 --- metapost/context/base/mpxl/mp-apos.mpxl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'metapost') diff --git a/metapost/context/base/mpxl/mp-apos.mpxl b/metapost/context/base/mpxl/mp-apos.mpxl index a64229715..021edfc79 100644 --- a/metapost/context/base/mpxl/mp-apos.mpxl +++ b/metapost/context/base/mpxl/mp-apos.mpxl @@ -263,6 +263,9 @@ def anch_box_arrows_draw = skip := (not spanpages) and ((mpvars("span")) = "yes") ; if skip : % we skip the second just in case + elseif alternative = "" : + message("invalid alternative in draw box arrow"); + skip := true; elseif alternative = "bottom" : ff := (xpart f, min(ypart f, ypart t)) ; tt := (xpart t, ypart ff) ; -- cgit v1.2.3