(run_stages): Fix previous change.
authorhanda <handa>
Mon, 19 Apr 2010 12:12:52 +0000 (12:12 +0000)
committerhanda <handa>
Mon, 19 Apr 2010 12:12:52 +0000 (12:12 +0000)
src/m17n-flt.c

index 644a0b6..e9ac45f 100644 (file)
@@ -2317,7 +2317,8 @@ run_stages (MFLTGlyphString *gstring, int from, int to,
                     : g->code
                     ? (int) mchartable_lookup (table, g->code)
                     : ' ');
-             SET_CATEGORY_CODE (g, enc);
+             if (! GET_COMBINED (g))
+               SET_CATEGORY_CODE (g, enc);
            }
          else
            enc = GET_CATEGORY_CODE (g);