From ee5f041e32f7411573495533cbe316fbd4b5aec8 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 19 Oct 2011 23:10:00 +0200 Subject: beta 2011.10.19 23:10 --- metapost/context/base/mp-char.mpiv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metapost') diff --git a/metapost/context/base/mp-char.mpiv b/metapost/context/base/mp-char.mpiv index 5450ed972..83fa20155 100644 --- a/metapost/context/base/mp-char.mpiv +++ b/metapost/context/base/mp-char.mpiv @@ -298,7 +298,9 @@ def flow_flush_shape(expr x, yy) = enddef ; vardef flow_points_initialized(expr xfrom, yfrom, xto, yto, n) = - if not flow_xyfree[xfrom][yfrom] and not flow_xyfree[xto][yto] : + if unknown flow_xyfree[xfrom][yfrom] or unknown flow_xyfree[xto][yto] : + flow_xypoint := 0 ; false + elseif not flow_xyfree[xfrom][yfrom] and not flow_xyfree[xto][yto] : flow_xypoint := n ; true else : flow_xypoint := 0 ; false -- cgit v1.2.3