(compose_glyph_string): Terminate the last loop after
authorhanda <handa>
Fri, 25 Jun 2004 11:56:09 +0000 (11:56 +0000)
committerhanda <handa>
Fri, 25 Jun 2004 11:56:09 +0000 (11:56 +0000)
doing default combining if necessary.

src/draw.c

index 833faee..05b6f24 100644 (file)
@@ -430,6 +430,8 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to,
                }
              if (start + 1 < i)
                reorder_combining_chars (gstring, start, i);
+             if (this->type == GLYPH_ANCHOR)
+               break;
            }
          g = MGLYPH (i);
        }