OSDN Git Service

Revert "Fix ticket #29140/" (for merging kitagawa_test branch)
[luatex-ja/luatexja.git] / src / ltj-jfmglue.lua
index 041426e..be9515e 100644 (file)
@@ -1000,8 +1000,8 @@ function create_beginpar_node()
 end
 
 local function whatsit_callback(Np, lp, Nq, bsl)
-   if Np.nuc then return Np 
-   elseif lp.user_id == 30114 then
+   if Np and Np.nuc then return Np 
+   elseif Np and lp.user_id == 30114 then
       Np.first = lp; Np.nuc = lp; Np.last = lp
       Np.char = 'parbdd'
       Np.met = nil