From: handa Date: Wed, 23 Jun 2004 05:42:26 +0000 (+0000) Subject: (redraw_cursor): Refer to cursor.logical_width instead X-Git-Tag: withdl~35 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=82e7de1c6215be0651926f0524da73a8f5c87b37;p=m17n%2Fm17n-lib.git (redraw_cursor): Refer to cursor.logical_width instead of cursor.this.width. --- 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); }