summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-rul.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/pack-rul.lua')
-rw-r--r--tex/context/base/pack-rul.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/pack-rul.lua b/tex/context/base/pack-rul.lua
index b9fa141fc..c8ed0722b 100644
--- a/tex/context/base/pack-rul.lua
+++ b/tex/context/base/pack-rul.lua
@@ -96,7 +96,7 @@ function commands.doreshapeframedbox(n)
for h in traverse_id(hlist_code,list) do
local l = getlist(h)
if l then
- local subtype = getsubtype(n)
+ local subtype = getsubtype(h)
if subtype == box_code or subtype == line_code then
l = hpack(l,maxwidth,'exactly',getfield(h,"dir")) -- multiple return values
setfield(h,"list",l)