summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-10-20 00:20:14 +0300
committerMarius <mariausol@gmail.com>2011-10-20 00:20:14 +0300
commitb0f6c985f61771b2d115f1632ceeccbd7dc2f1d1 (patch)
tree6b9050431ad0c9b1798e1d165094abb85b3080f0 /metapost
parentc7071b17e99c543f0480726468420f9ee88e7435 (diff)
downloadcontext-b0f6c985f61771b2d115f1632ceeccbd7dc2f1d1.tar.gz
beta 2011.10.19 23:10
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-char.mpiv4
1 files changed, 3 insertions, 1 deletions
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