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:
0785e02
)
(surrounding_text_handler): Fix previous change.
author
handa
<handa>
Tue, 8 Nov 2005 12:50:11 +0000
(12:50 +0000)
committer
handa
<handa>
Tue, 8 Nov 2005 12:50:11 +0000
(12:50 +0000)
example/medit.c
patch
|
blob
|
history
diff --git
a/example/medit.c
b/example/medit.c
index
df7c7ba
..
93aa40a
100644
(file)
--- a/
example/medit.c
+++ b/
example/medit.c
@@
-2201,14
+2201,14
@@
surrounding_text_handler (MInputContext *ic, MSymbol command)
if (len < 0)
{
- if (corsor.from + len < 0)
- len = - corsor.from;
+ if (cursor.from + len < 0)
+ len = - cursor.from;
delete_char (len);
}
else if (len > 0)
{
- if (corsor.from + len > nchars)
- len = nchars - corsor.from;
+ if (cursor.from + len > nchars)
+ len = nchars - cursor.from;
delete_char (len);
}
}