From d6dece4edc2ef86889f99f3dbe5a6d6ed3b68b02 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 5 Jul 2018 23:56:28 +0200 Subject: 2018-07-05 23:13:00 --- metapost/context/base/mpiv/mp-node.mpiv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'metapost') diff --git a/metapost/context/base/mpiv/mp-node.mpiv b/metapost/context/base/mpiv/mp-node.mpiv index 79391220b..b7abcd5e5 100644 --- a/metapost/context/base/mpiv/mp-node.mpiv +++ b/metapost/context/base/mpiv/mp-node.mpiv @@ -51,7 +51,7 @@ clearnodepath ; vardef makenode@#(text t) = for a = t : - if (path a) or (unknown a) : + if (path a) or (unknown a) or ((string a) and (length(a) = 0)) : mfun_makenode@#(t,) else : mfun_makenode@#(nodepath, t,) @@ -62,7 +62,7 @@ enddef ; vardef node@#(text t) = for a = t : - if (path a) or (unknown a) : + if (path a) or (unknown a) or ((string a) and (length(a) = 0)) : mfun_node@#(t,) else : mfun_node@#(nodepath, t,) @@ -73,7 +73,7 @@ enddef ; vardef nodeboundingpoint@#(text t) = for a = t : - if (path a) or (unknown a) : + if (path a) or (unknown a) or ((string a) and (length(a) = 0)) : mfun_nodeboundingpoint@#(t) else : mfun_nodeboundingpoint@#(nodepath,a) -- cgit v1.2.3