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:
e6c956f
)
(take_action_list): Fix debug info.
author
handa
<handa>
Fri, 23 May 2008 11:36:18 +0000
(11:36 +0000)
committer
handa
<handa>
Fri, 23 May 2008 11:36:18 +0000
(11:36 +0000)
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
38883a8
..
87281d6
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-3113,8
+3113,9
@@
take_action_list (MInputContext *ic, MPlist *action_list)
to = 0;
else if (to > len)
to = len;
+ pos = to - ic->cursor_pos;
}
- MDEBUG_PRINT1 ("(%d)", to - ic->cursor_pos);
+ MDEBUG_PRINT1 ("(%d)", pos);
if (to < ic->cursor_pos)
preedit_delete (ic, to, ic->cursor_pos);
else if (to > ic->cursor_pos)