From 363a64830ca93ac27628e332499afba94d6badf8 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 5 Oct 2009 11:06:25 +0000 Subject: [PATCH] Fix previous change. --- src/m17n-flt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m17n-flt.c b/src/m17n-flt.c index 0ca5d80..306233e 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -2611,7 +2611,7 @@ mflt_find (int c, MFLTFont *font) found: if (! CHECK_FLT_STAGES (flt)) return NULL; - if (font && flt->need_config) + if (font && flt->need_config && mflt_font_id) flt = configure_flt (flt, font, mflt_font_id (font)); return flt; } @@ -2780,7 +2780,7 @@ mflt_run (MFLTGlyphString *gstring, int from, int to, MDEBUG_PRINT1 (" [FLT] (%s", MSYMBOL_NAME (flt->name)); - if (flt->need_config) + if (flt->need_config && font_id != Mnil) flt = configure_flt (flt, font, font_id); for (; this_to < to; this_to++) -- 1.7.10.4