From 70fd5f9676467f90495795415e4b18d28bf491e6 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 14 Oct 2005 02:22:04 +0000 Subject: [PATCH] (render_glyphs): Check gend->type before checking gend->to. --- src/draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; } } -- 1.7.10.4