From: handa Date: Fri, 11 Nov 2005 11:24:14 +0000 (+0000) Subject: (update_cursor): Update control.cursor_pos. X-Git-Tag: REL-1-3-0~78 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d97c37bf3168dadb4fe1de973601475369de9ea1;p=m17n%2Fm17n-lib.git (update_cursor): Update control.cursor_pos. --- diff --git a/example/medit.c b/example/medit.c index 93aa40a..3789067 100644 --- a/example/medit.c +++ b/example/medit.c @@ -508,6 +508,7 @@ update_cursor (int pos, int full) { MDrawMetric rect; + control.cursor_pos = pos; if (full) { /* CUR is inaccurate. We can trust only TOP. */