(render_glyphs): Check gend->type before checking
authorhanda <handa>
Fri, 14 Oct 2005 02:22:04 +0000 (02:22 +0000)
committerhanda <handa>
Fri, 14 Oct 2005 02:22:04 +0000 (02:22 +0000)
gend->to.

src/draw.c

index 80925c3..671acc8 100644 (file)
@@ -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++;
        }
     }