OSDN Git Service

check_box in ltj_jfmglue.lua: first_char was reset by \hbox{}.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 27 Apr 2013 01:42:12 +0000 (10:42 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 27 Apr 2013 01:42:12 +0000 (10:42 +0900)
example: あ\hbox{a\hbox{}}い

src/ltj-jfmglue.lua

index 8f384d9..154e8bb 100644 (file)
@@ -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