summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-nut.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-30 01:22:07 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-07-30 01:22:07 +0200
commit5135aef167bec739fe429e1aa987671768b237bc (patch)
treebd9f9696704e57c45f453bb7dc6becd5501cb657 /tex/context/base/mkiv/node-nut.lua
parent9d7c4ba8449bec1da920c01e24a17c41bbf2211d (diff)
downloadcontext-5135aef167bec739fe429e1aa987671768b237bc.tar.gz
2016-07-30 00:31:00
Diffstat (limited to 'tex/context/base/mkiv/node-nut.lua')
-rw-r--r--tex/context/base/mkiv/node-nut.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/node-nut.lua b/tex/context/base/mkiv/node-nut.lua
index 3bd63bd58..c2c74308d 100644
--- a/tex/context/base/mkiv/node-nut.lua
+++ b/tex/context/base/mkiv/node-nut.lua
@@ -265,6 +265,7 @@ local d_slide = direct.slide
local d_traverse = direct.traverse
local d_setlink = direct.setlink
local d_setboth = direct.setboth
+local d_getboth = direct.getboth
local function remove(head,current,free_too)
local t = current
@@ -297,7 +298,7 @@ function nuts.replace(head,current,new) -- no head returned if false
d_setlink(new,next)
end
if prev then
- d_setlink(new,prev)
+ d_setlink(prev,new)
end
if head then
if head == current then