From: handa Date: Thu, 3 Apr 2008 12:10:44 +0000 (+0000) Subject: (update_cursor): Update control.cursor_pos at first. X-Git-Tag: REL-1-5-2~25 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=386d30eb7cfb37b7f6277de12c336365114d8d31;p=m17n%2Fm17n-lib.git (update_cursor): Update control.cursor_pos at first. --- diff --git a/example/medit.c b/example/medit.c index a4e08d1..d4ce84c 100644 --- a/example/medit.c +++ b/example/medit.c @@ -507,6 +507,7 @@ update_cursor (int pos, int full) { MDrawMetric rect; + control.cursor_pos = pos; if (full) { /* CUR is inaccurate. We can trust only TOP. */