summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-19 21:28:53 +0000
committerKarl Berry <karl@freefriends.org>2021-03-19 21:28:53 +0000
commitb1f9b2f01e127496176dbdce9f901ebd335b7ab8 (patch)
tree173ac72662f32aa3809e502a8775520671455aeb /Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
parentad6aef2d80fb956bee8df8dc13c8a3814dd0b2c5 (diff)
luatexja (19mar21)
git-svn-id: svn://tug.org/texlive/trunk@58542 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
index 9824ff155ac..cd8b98aa27b 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
@@ -312,7 +312,7 @@ local function enlarge_parent(r, p, tmp_tbl, no_begin, no_end)
local intmode = floor(tmp_tbl.mode/4)%4
if no_begin then mapre = mapre + tmp_tbl.before_jfmgk end
if no_end then mapost = mapost + tmp_tbl.after_jfmgk end
- if (tmp_tbl.mode%4 >=2) and (tmp.pre<0) and (tmp.post<0) then
+ if (tmp_tbl.mode%4 >=2) and (tmp_tbl.pre<0) and (tmp_tbl.post<0) then
mapre = min(mapre,mapost); mapost = mapre
end
if intmode == 0 then -- とりあえず組んでから決める