From: Hironori Kitagawa Date: Thu, 19 Feb 2015 02:20:57 +0000 (+0900) Subject: Fix a bug that xkanjiskip is inserted in \hbox{a\null}あ X-Git-Tag: 20150420.0~19 X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=01afd6daf7d77b6ffa9df465e58cc330ffa45710;p=luatex-ja%2Fluatexja.git Fix a bug that xkanjiskip is inserted in \hbox{a\null}あ --- diff --git a/src/ltj-jfmglue.lua b/src/ltj-jfmglue.lua index d8ea5e2..6f83853 100644 --- a/src/ltj-jfmglue.lua +++ b/src/ltj-jfmglue.lua @@ -222,6 +222,7 @@ local function check_box(box_ptr, box_end) last_char = s; found_visible_node = true else if getfield(p, 'shift')==0 then + last_char = nil if check_box(getlist(p), nil) then found_visible_node = true end else find_first_char = false; last_char = nil