OSDN Git Service

Fix a bug that xkanjiskip is inserted in \hbox{a\null}あ
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 19 Feb 2015 02:20:57 +0000 (11:20 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 19 Feb 2015 02:20:57 +0000 (11:20 +0900)
src/ltj-jfmglue.lua

index d8ea5e2..6f83853 100644 (file)
@@ -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