OSDN Git Service

Merge branch 'kmaeda-manual' into kitagawa_test, and fix the ticket #28171.
[luatex-ja/luatexja.git] / src / luatexja.lua
index 25530a1..d9f137d 100644 (file)
@@ -216,7 +216,7 @@ end
 local function main_process(head, mode, dir)
    local p = head
    p = ltjj.main(p,mode)
-   p = ltjw.set_ja_width(p, dir)
+   if p then p = ltjw.set_ja_width(p, dir) end
    return p
 end