summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/lpdf-res.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/lpdf-res.lua')
-rw-r--r--tex/context/base/mkiv/lpdf-res.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/lpdf-res.lua b/tex/context/base/mkiv/lpdf-res.lua
index d13fc798e..ca092c772 100644
--- a/tex/context/base/mkiv/lpdf-res.lua
+++ b/tex/context/base/mkiv/lpdf-res.lua
@@ -22,7 +22,7 @@ local useboxresource = tex.useboxresource
local getboxresource = tex.getboxresourcedimensions
function codeinjections.registerboxresource(n)
- return saveboxresource(n,nil,lpdf.collectedresources,true) -- direct
+ return saveboxresource(n,nil,lpdf.collectedresources(),true) -- direct, todo: accept functions as attr/resources
end
function codeinjections.restoreboxresource(index)