From: handa Date: Wed, 14 Jul 2004 05:19:04 +0000 (+0000) Subject: (compose_glyph_string): Fix previous change. X-Git-Tag: REL-1-1-0~107 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a630983d6831aaf841a938a94736732d2d2417cc;p=m17n%2Fm17n-lib.git (compose_glyph_string): Fix previous change. --- diff --git a/src/draw.c b/src/draw.c index f4003eb..4da7478 100644 --- a/src/draw.c +++ b/src/draw.c @@ -302,9 +302,10 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to, || MGLYPH (last)->type != g_tmp.type) { g = MGLYPH (last); - while (g < gstring->glyphs + gstring->used) - g = mface__for_chars (script, language, charset, - g, gstring->glyphs + gstring->used, size); + if (g->type != GLYPH_ANCHOR) + while (g < gstring->glyphs + gstring->used) + g = mface__for_chars (script, language, charset, + g, gstring->glyphs + gstring->used, size); if (pos == to) break; last = gstring->used;