summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-08-10 20:37:33 +0000
committerKarl Berry <karl@freefriends.org>2022-08-10 20:37:33 +0000
commita8249a6e60dd1e6da26916c17e8f06aa46d4093b (patch)
tree66b1c694c6e9126ed665c1a79ad369b066ba64ff /Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
parentfbeb579eec660c36b0a6fa06abfe7527cd99de78 (diff)
luatexja (10aug22)
git-svn-id: svn://tug.org/texlive/trunk@64092 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
index 565190be2d3..4a0ad3ab06e 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
@@ -334,7 +334,9 @@ do
while x and getid(x)==id_glue and getsubtype(x)==3 do
node_remove(hd,x); node_free(x); x = node_next(hd)
end
- if #wh==1 then wh[1]=nil else wh[#wh], wh[1]=nil, wh[#wh] end
+ --if gc~='vtop' then
+ -- if #wh==1 then wh[1]=nil else wh[#wh], wh[1]=nil, wh[#wh] end
+ --end
end
for i=1,#wh do
hd = node_remove(hd, wh[i]); node_free(wh[i]); wh[i] = nil