projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f042b82
)
(redraw_cursor): Refer to cursor.logical_width instead
author
handa
<handa>
Wed, 23 Jun 2004 05:42:26 +0000
(
05:42
+0000)
committer
handa
<handa>
Wed, 23 Jun 2004 05:42:26 +0000
(
05:42
+0000)
of cursor.this.width.
example/medit.c
patch
|
blob
|
history
diff --git
a/example/medit.c
b/example/medit.c
index
01dac6b
..
8bc1b83
100644
(file)
--- 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);
}