(run_rule): Fix checking of glyph availability.
authorhanda <handa>
Mon, 1 Mar 2010 06:17:31 +0000 (06:17 +0000)
committerhanda <handa>
Mon, 1 Mar 2010 06:17:31 +0000 (06:17 +0000)
src/m17n-flt.c

index c67c3da..c0ae65b 100644 (file)
@@ -1726,12 +1726,12 @@ run_rule (int depth,
            {
              if (MPLIST_INTEGER_P (p))
                {
-                 GREF (&gstring, i)->code = MPLIST_INTEGER (p);
+                 GREF (&gstring, i)->c = MPLIST_INTEGER (p);
                  GREF (&gstring, i)->encoded = 0;
                }
              else
                {
-                 GREF (&gstring, i)->code = GREF (ctx->in, idx)->code;
+                 GREF (&gstring, i)->c = GREF (ctx->in, idx)->code;
                  GREF (&gstring, i)->encoded = GREF (ctx->in, idx)->encoded;
                  idx++;
                }