From 01afd6daf7d77b6ffa9df465e58cc330ffa45710 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Thu, 19 Feb 2015 11:20:57 +0900 Subject: [PATCH] =?utf8?q?Fix=20a=20bug=20that=20xkanjiskip=20is=20inserte?= =?utf8?q?d=20in=20\hbox{a\null}=E3=81=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/ltj-jfmglue.lua | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.0