From f6e7648f6126ffe087071531f03c674be32930f1 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 20 Aug 2019 19:19:52 +0200 Subject: 2019-08-20 17:28:00 --- tex/context/base/mkiv/node-nut.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tex/context/base/mkiv/node-nut.lua') diff --git a/tex/context/base/mkiv/node-nut.lua b/tex/context/base/mkiv/node-nut.lua index 158f74a98..6c4b034c9 100644 --- a/tex/context/base/mkiv/node-nut.lua +++ b/tex/context/base/mkiv/node-nut.lua @@ -408,13 +408,13 @@ if not nuts.getpre then local d_getdisc = direct.getdisc local d_setfield = direct.setfield - function nuts.getpre(d) local h, _, _, t, _, _ = d_getdisc(d,true) return h, t end - function nuts.getpost(d) local _, h, _, _, t, _ = d_getdisc(d,true) return h, t end - function nuts.getreplace(d) local _, _, h, _, _, t = d_getdisc(d,true) return h, t end + function nuts.getpre (n) local h, _, _, t, _, _ = d_getdisc(n,true) return h, t end + function nuts.getpost (n) local _, h, _, _, t, _ = d_getdisc(n,true) return h, t end + function nuts.getreplace(n) local _, _, h, _, _, t = d_getdisc(n,true) return h, t end - function nuts.setpre(d,n) d_setfield("pre", n) end - function nuts.setpost(d,n) d_setfield("post", n) end - function nuts.setreplace(d,n) d_setfield("replace",n) end + function nuts.setpre (n,h) d_setfield(d,"pre", h) end + function nuts.setpost (n,h) d_setfield(d,"post", h) end + function nuts.setreplace(n,h) d_setfield(d,"replace",h) end end -- cgit v1.2.3