From dddc3602ff9ebf79a25822bd47c850a242e2480f Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 11 Nov 2005 11:53:52 +0000 Subject: [PATCH] Fix previous change. --- example/medit.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 1.7.10.4