From: Hironori Kitagawa Date: Sat, 27 Apr 2013 01:42:12 +0000 (+0900) Subject: check_box in ltj_jfmglue.lua: first_char was reset by \hbox{}. X-Git-Tag: tl2012_last~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;ds=sidebyside;h=7734f91df982a522e0a00232d8d558d870d379f3;hp=d28b57ea225776bdb4297e3db9ed5188a608fd69;p=luatex-ja%2Fluatexja.git check_box in ltj_jfmglue.lua: first_char was reset by \hbox{}. example: あ\hbox{a\hbox{}}い --- diff --git a/src/ltj-jfmglue.lua b/src/ltj-jfmglue.lua index 8f384d9..154e8bb 100644 --- a/src/ltj-jfmglue.lua +++ b/src/ltj-jfmglue.lua @@ -147,7 +147,7 @@ local first_char, last_char, find_first_char local function check_box(box_ptr, box_end) local p = box_ptr; local found_visible_node = false if not p then - find_first_char = false; first_char = nil; last_char = nil + find_first_char = false; last_char = nil return true end while p and p~=box_end do