(mdraw_glyph_list): Fix settting of glyphs->font->source.
authorhanda <handa>
Tue, 4 Oct 2005 11:37:31 +0000 (11:37 +0000)
committerhanda <handa>
Tue, 4 Oct 2005 11:37:31 +0000 (11:37 +0000)
src/draw.c

index 382b5f6..80925c3 100644 (file)
@@ -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;