From 1a448584da400aaecc89e69cb85260065f140ff3 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 4 Oct 2005 11:37:31 +0000 Subject: [PATCH] (mdraw_glyph_list): Fix settting of glyphs->font->source. --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4