summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-01-12 02:24:44 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-01-12 02:24:44 +0000
commitdb11878dfb935ce0db3eee1443811a7a8b762259 (patch)
treec76ee3dc6c9b3f7e5784769a71db5a782eccf22a /Build
parentf65d9ccbe17612bff6b7e556c72903ce42fa0230 (diff)
mplibdir/mp.w: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@42931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/mplibdir/mp.w5
1 files changed, 2 insertions, 3 deletions
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;