summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote/plain_arrows.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/asymptote/plain_arrows.asy')
-rw-r--r--Master/texmf/asymptote/plain_arrows.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf/asymptote/plain_arrows.asy b/Master/texmf/asymptote/plain_arrows.asy
index 18618c2b5b8..5284ee9650d 100644
--- a/Master/texmf/asymptote/plain_arrows.asy
+++ b/Master/texmf/asymptote/plain_arrows.asy
@@ -93,7 +93,7 @@ SimpleHead.head=new path(path g, position position=EndPoint, pen p=currentpen,
path left=rotate(-angle,x)*r;
path right=rotate(angle*factor,x)*r;
real[] T=arrowbasepoints(base,left,right);
- return subpath(left,T[0],0)--subpath(right,T[1],0);
+ return subpath(left,T[0],0)--subpath(right,0,T[1]);
};
arrowhead HookHead(real dir=arrowdir, real barb=arrowbarb)