diff options
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-char.mpiv | 4 |
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 |