MCharTable *coverage;
if (layouter != Mt
- ? (flt = mflt_get (layouter),
- coverage = mflt_coverage (flt),
- ! mchartable_lookup (coverage, c))
+ ? ((flt = mflt_get (layouter))
+ ? (coverage = mflt_coverage (flt),
+ ! mchartable_lookup (coverage, c))
+ : 0)
: ! mfont__has_char (frame, font, &font_list->object, c))
break;
}
continue;
if (j == *num || !all)
{
- MFLT *ftl;
MCharTable *coverage = NULL;
/* We found a font that can display the requested range of
}
rfont->layouter = layouter == Mt ? Mnil : layouter;
if (rfont->layouter)
- coverage = mflt_coverage (mflt_get (rfont->layouter));
+ {
+ MFLT *flt = mflt_get (rfont->layouter);
+
+ if (flt)
+ coverage = mflt_coverage (flt);
+ }
*num = j;
for (j = 0; j < *num; j++)
{
int c = g[j].type == GLYPH_CHAR ? g[j].g.c : ' ';
- g[j].g.code = (rfont->layouter
- ? mchartable_lookup (coverage, c)
+ g[j].g.code = (coverage
+ ? (unsigned ) mchartable_lookup (coverage, c)
: mfont__encode_char (frame, (MFont *) rfont,
&font_list->object, c));
}