From: handa Date: Fri, 11 Nov 2005 11:53:52 +0000 (+0000) Subject: Fix previous change. X-Git-Tag: REL-1-3-0~74 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddc3602ff9ebf79a25822bd47c850a242e2480f;p=m17n%2Fm17n-lib.git Fix previous change. --- diff --git a/example/medit.c b/example/medit.c index 6c4bf3f..8416756 100644 --- a/example/medit.c +++ b/example/medit.c @@ -2204,6 +2204,7 @@ surrounding_text_handler (MInputContext *ic, MSymbol command) if (cursor.from + len < 0) len = - cursor.from; mtext_del (mt, cursor.from + len, cursor.from); + cursor.from += len; } else if (len > 0) {