OSDN Git Service

fix #38416
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 26 Jul 2018 14:01:46 +0000 (23:01 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 26 Jul 2018 14:01:46 +0000 (23:01 +0900)
src/ltj-direction.lua

index 0df63db..8e78438 100644 (file)
@@ -640,7 +640,7 @@ do
       local bh = getlist(b)
       local box_dir, dn =  get_box_dir(b, ltjs.list_dir)
       -- 既に b の中身にあるwhatsit
-      if not dn then
+      if (box_dir<dir_node_auto) and (not dn) then
        bh = create_dir_whatsit(bh, 'make_dir_whatsit', dir_yoko)
        dn = bh; setfield(b, 'head', bh)
       end