From 240b0eca009d4a201829c6eecea520a52633e947 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Fri, 10 Aug 2018 22:43:47 +0900 Subject: [PATCH] fix \ltjruby in non-yoko direction --- src/ltj-jfmglue.lua | 10 +++++----- src/ltj-ruby.lua | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ltj-jfmglue.lua b/src/ltj-jfmglue.lua index 895cf9c..2a726e0 100644 --- a/src/ltj-jfmglue.lua +++ b/src/ltj-jfmglue.lua @@ -280,17 +280,17 @@ local function check_next_ickern(lp) end local function calc_np_pbox(lp, last) - local first, lpa, nc = (not Np.first), KINSOKU, nil + local first, lpa, nc = (not Np.first), get_attr_icflag(lp), nil Np.first = Np.first or lp; Np.id = id_pbox set_attr(lp, attr_icflag, get_attr_icflag(lp)); while lp ~=last and (lpa>=PACKED) and (lpa