From db11878dfb935ce0db3eee1443811a7a8b762259 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Thu, 12 Jan 2017 02:24:44 +0000 Subject: mplibdir/mp.w: sync with the upstream git-svn-id: svn://tug.org/texlive/trunk@42931 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/mplibdir/mp.w | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/mplibdir/mp.w b/Build/source/texk/web2c/mplibdir/mp.w index fbec9f76629..a6b70793388 100644 --- a/Build/source/texk/web2c/mplibdir/mp.w +++ b/Build/source/texk/web2c/mplibdir/mp.w @@ -1,4 +1,4 @@ -% $Id: mp.w 2112 2017-01-09 18:44:19Z luigi $ +% $Id: mp.w 2113 2017-01-11 23:15:32Z luigi $ % % This file is part of MetaPost; % the MetaPost program is in the public domain. @@ -29189,11 +29189,11 @@ static void mp_set_up_boundingpath (MP mp, mp_node p) { qq = mp_make_envelope(mp, q, value_knot (p), ljoin, lcap, miterlim); set_cur_exp_knot (qq); mp->cur_exp.type = mp_path_type; + if (!mp_get_cur_bbox (mp)) { mp_bad_binary (mp, p, mp_boundingpath_of); set_cur_exp_knot (q); mp->cur_exp.type = mp_path_type; - mp_free_path(mp,qq); return; } else { @@ -29206,7 +29206,6 @@ static void mp_set_up_boundingpath (MP mp, mp_node p) { mp_bad_binary (mp, p, mp_boundingpath_of); set_cur_exp_knot (q); mp->cur_exp.type = mp_path_type; - mp_free_path(mp,qq); return; } mp_left_type (ll) = mp_endpoint; -- cgit v1.2.3