(mflt_find): If FONT is specified but no flt is
authorhanda <handa>
Wed, 2 Dec 2009 01:59:07 +0000 (01:59 +0000)
committerhanda <handa>
Wed, 2 Dec 2009 01:59:07 +0000 (01:59 +0000)
found, return NULL.

src/m17n-flt.c

index 75d5c7f..3832935 100644 (file)
@@ -2768,6 +2768,8 @@ mflt_find (int c, MFLTFont *font)
            }
          best = flt;
        }
+      if (best == NULL)
+       return NULL;
       flt = best;
       goto found;
     }