diff options
Diffstat (limited to 'tex/context/base/mkiv/mlib-lua.lmt')
-rw-r--r-- | tex/context/base/mkiv/mlib-lua.lmt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/mlib-lua.lmt b/tex/context/base/mkiv/mlib-lua.lmt index 30fc2ff63..366a8bca7 100644 --- a/tex/context/base/mkiv/mlib-lua.lmt +++ b/tex/context/base/mkiv/mlib-lua.lmt @@ -95,7 +95,7 @@ end function inject.path(p,close,connector) local curled = false local n = #p - if p.close then + if p.close or p.cycle then close = true end if n > 1 then @@ -111,7 +111,7 @@ function inject.path(p,close,connector) end end end - return inject_path(currentmpx,p,curled,close) + return inject_path(currentmpx,p,close,curled) end -- bonus: |