From: handa Date: Mon, 3 Oct 2005 13:34:04 +0000 (+0000) Subject: (mdraw_glyph_info): Pay attention to the case that FROM X-Git-Tag: REL-1-3-0~138 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d7a85ed9312afbe959dcf888b26937c5f86c61;p=m17n%2Fm17n-lib.git (mdraw_glyph_info): Pay attention to the case that FROM is not at the beginning of line. --- diff --git a/src/draw.c b/src/draw.c index 4ea2041..382b5f6 100644 --- a/src/draw.c +++ b/src/draw.c @@ -2650,7 +2650,8 @@ mdraw_glyph_info (MFrame *frame, MText *mt, int from, int pos, info->prev_from = g_tmp->pos; } - else if (info->line_from > 0) + else if (info->line_from > 0 + && gstring->from > 0) { /* The logically previous glyph is on the previous line. */ MGlyphString *gst = get_gstring (frame, mt, gstring->from - 1,