summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-10-19 23:10:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-10-19 23:10:00 +0200
commitee5f041e32f7411573495533cbe316fbd4b5aec8 (patch)
tree32c03acc93bc3ce216b184363a111de27f4a76b4 /metapost
parentf50cbca875fda9103eff8ec9f9a6cbe03c90b010 (diff)
downloadcontext-ee5f041e32f7411573495533cbe316fbd4b5aec8.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