summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-rul.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2014-01-07 18:20:22 +0200
committerMarius <mariausol@gmail.com>2014-01-07 18:20:22 +0200
commit868b87aa072239464dc96017ddab0ba717d04da0 (patch)
treed57d3c66bb0ccac4712b92f132b0c34fbe015a04 /tex/context/base/pack-rul.lua
parent2d7fcdd7ddd84ca5d1ec659f57f69286c0b7ae7f (diff)
downloadcontext-868b87aa072239464dc96017ddab0ba717d04da0.tar.gz
beta 2014.01.07 17:03
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)