(load_flt): Check the return value of load_category_table.
authorhanda <handa>
Fri, 2 Oct 2009 12:59:08 +0000 (12:59 +0000)
committerhanda <handa>
Fri, 2 Oct 2009 12:59:08 +0000 (12:59 +0000)
src/m17n-flt.c

index 315f5cc..4aba740 100644 (file)
@@ -1253,6 +1253,8 @@ load_flt (MFLT *flt, MPlist *key_list)
              continue;
            }
          category = load_category_table (pl);
+         if (! category)
+           category = mchartable (Minteger, (void *) 0);
          if (! flt->coverage)
            {
              flt->coverage = category;