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:
5981ab8
)
(get_gstring): Don't use the cached gstring if cursor position is
author
handa
<handa>
Thu, 3 Apr 2008 06:17:06 +0000
(06:17 +0000)
committer
handa
<handa>
Thu, 3 Apr 2008 06:17:06 +0000
(06:17 +0000)
changed.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
c8bc8d5
..
6cca092
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-1516,6
+1516,7
@@
get_gstring (MFrame *frame, MText *mt, int pos, int to, MDrawControl *control)
|| memcmp (control, &gstring->control,
(char *) (&control->with_cursor)
- (char *) (control))
+ || control->cursor_pos != gstring->control.cursor_pos
|| control->cursor_width != gstring->control.cursor_width
|| control->cursor_bidi != gstring->control.cursor_bidi)
{