OSDN Git Service

Bugfix of commit 56fd6a3.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 3 Dec 2011 13:23:15 +0000 (22:23 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 3 Dec 2011 13:23:15 +0000 (22:23 +0900)
src/luatexja/stack.lua

index 80b7630..e5ce724 100644 (file)
@@ -96,8 +96,8 @@ function set_stack_font(g,m,c,p)
                         {"The family number should in the range 0 .. 255.",
                          "I'm going to use 0 instead of that illegal family number."})
       c=0
-   elseif not charprop_stack_table[i][c] then 
-      charprop_stack_table[i][c] = {} 
+   elseif not charprop_stack_table[i][m] then 
+      charprop_stack_table[i][m] = {} 
    end
    charprop_stack_table[i][m][c] = p
   if g=='global' then