From 7734f91df982a522e0a00232d8d558d870d379f3 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Sat, 27 Apr 2013 10:42:12 +0900 Subject: [PATCH 1/1] check_box in ltj_jfmglue.lua: first_char was reset by \hbox{}. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit example: あ\hbox{a\hbox{}}い --- src/ltj-jfmglue.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0