From: handa Date: Fri, 2 Oct 2009 12:59:08 +0000 (+0000) Subject: (load_flt): Check the return value of load_category_table. X-Git-Tag: merge-to-XML~70 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1b3600bcc216913ca026388674bc57ce6ff63143;p=m17n%2Fm17n-lib.git (load_flt): Check the return value of load_category_table. --- diff --git a/src/m17n-flt.c b/src/m17n-flt.c index 315f5cc..4aba740 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -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;