From: handa Date: Fri, 14 Oct 2005 02:22:04 +0000 (+0000) Subject: (render_glyphs): Check gend->type before checking X-Git-Tag: REL-1-3-0~132 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70fd5f9676467f90495795415e4b18d28bf491e6;p=m17n%2Fm17n-lib.git (render_glyphs): Check gend->type before checking gend->to. --- diff --git a/src/draw.c b/src/draw.c index 80925c3..671acc8 100644 --- a/src/draw.c +++ b/src/draw.c @@ -1261,7 +1261,8 @@ render_glyphs (MFrame *frame, MDrawWindow win, int x, int y, int width, gend--; } if (g != gend) - while (gend[-1].to == gend->to) gend++; + while (gend->type != GLYPH_ANCHOR && gend[-1].to == gend->to) + gend++; } }