summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-04 21:45:53 +0000
committerKarl Berry <karl@freefriends.org>2017-09-04 21:45:53 +0000
commitab63f41137a210173bf797f28970ca2591a6cf15 (patch)
tree6666213ffee7637577d6347201f334b992f6896c /Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
parent458a507406076f4746ce1440eca59f981949e0ab (diff)
luatexja (4sep17)
git-svn-id: svn://tug.org/texlive/trunk@45216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
index e85e5f79d53..53bcdb340ff 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
@@ -169,9 +169,9 @@ luatexbase.add_to_callback('mlist_to_hlist',
function (n, display_type, penalties)
n = to_direct(n); list_dir = ltjd_get_dir_count()
if getid(n)==id_whatsit and getsubtype(n)==sid_user and
- getfield(n, 'user_id') == DIR then
+ getfield(n, 'user_id') == DIR then
local old_n = n; n = node_remove(n, n)
- node_free(old_n)
+ node_free(old_n); if not n then return nil end
end
return node.mlist_to_hlist(
to_node(conv_jchar_to_hbox(n, 0)),