From: handa Date: Tue, 4 Oct 2005 11:37:31 +0000 (+0000) Subject: (mdraw_glyph_list): Fix settting of glyphs->font->source. X-Git-Tag: REL-1-3-0~137 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1a448584da400aaecc89e69cb85260065f140ff3;p=m17n%2Fm17n-lib.git (mdraw_glyph_list): Fix settting of glyphs->font->source. --- diff --git a/src/draw.c b/src/draw.c index 382b5f6..80925c3 100644 --- a/src/draw.c +++ b/src/draw.c @@ -2846,7 +2846,7 @@ mdraw_glyph_list (MFrame *frame, MText *mt, int from, int to, { glyphs->font = (MFont *) g->rface->rfont; glyphs->font_type - = (g->rface->rfont->font->type == MFONT_SOURCE_X ? Mx + = (glyphs->font->source == MFONT_SOURCE_X ? Mx : g->rface->rfont->driver == &mfont__ft_driver ? Mfreetype : Mxft); glyphs->fontp = g->rface->rfont->fontp;