diff options
Diffstat (limited to 'tex/context/base/lpdf-res.lua')
-rw-r--r-- | tex/context/base/lpdf-res.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/lpdf-res.lua b/tex/context/base/lpdf-res.lua index 172d74681..587c54578 100644 --- a/tex/context/base/lpdf-res.lua +++ b/tex/context/base/lpdf-res.lua @@ -13,6 +13,7 @@ local nuts = nodes.nuts local tonut = nodes.tonut local setfield = nuts.setfield +local setlist = nuts.setlist local new_hlist = nuts.pool.hlist @@ -27,7 +28,7 @@ end function codeinjections.restoreboxresource(index) local hbox = new_hlist() local list, wd, ht, dp = useboxresource(index) - setfield(hbox,"list", tonut(list)) + setlist(hbox,tonut(list)) setfield(hbox,"width", wd) setfield(hbox,"height", ht) setfield(hbox,"depth", dp) |