From 82e7de1c6215be0651926f0524da73a8f5c87b37 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 23 Jun 2004 05:42:26 +0000 Subject: [PATCH] (redraw_cursor): Refer to cursor.logical_width instead of cursor.this.width. --- example/medit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/medit.c b/example/medit.c index 01dac6b..8bc1b83 100644 --- a/example/medit.c +++ b/example/medit.c @@ -475,8 +475,8 @@ redraw_cursor (int clear) int x = cursor.x; if (control.orientation_reversed) - x += win_width - cursor.this.width; - CLEAR_AREA (x, cur.y0, cursor.this.width, cursor.this.height); + x += win_width - cursor.logical_width; + CLEAR_AREA (x, cur.y0, cursor.logical_width, cursor.this.height); } DRAW_TEXT (cursor.x, cur.y0 + cur.ascent, cursor.from, cursor.to); } -- 1.7.10.4