From 386d30eb7cfb37b7f6277de12c336365114d8d31 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 3 Apr 2008 12:10:44 +0000 Subject: [PATCH] (update_cursor): Update control.cursor_pos at first. --- example/medit.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- 1.7.10.4