OSDN Git Service

ltj-jfmglue.lua: fix determing process of character classes.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 2 Oct 2014 11:01:50 +0000 (20:01 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 2 Oct 2014 11:02:45 +0000 (20:02 +0900)
src/ltj-jfmglue.lua

index 9840da8..6b2fb95 100644 (file)
@@ -105,7 +105,7 @@ local slow_find_char_class
 do
    slow_find_char_class = function (c, m, oc)
       local cls = ltjf_find_char_class(oc, m)
-      if not c and  cls==0 then 
+      if cls==0 then 
         return ltjf_find_char_class(-c, m), oc
       else
         return cls, oc