From: handa Date: Wed, 2 Dec 2009 01:59:07 +0000 (+0000) Subject: (mflt_find): If FONT is specified but no flt is X-Git-Tag: merge-to-XML~30 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b6c88a40904be8b8b25c261e2b42503db4634b91;p=m17n%2Fm17n-lib.git (mflt_find): If FONT is specified but no flt is found, return NULL. --- diff --git a/src/m17n-flt.c b/src/m17n-flt.c index 75d5c7f..3832935 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -2768,6 +2768,8 @@ mflt_find (int c, MFLTFont *font) } best = flt; } + if (best == NULL) + return NULL; flt = best; goto found; }