aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-09-09 02:09:32 +0000
committerKenichi Handa2008-09-09 02:09:32 +0000
commitd45a49e3b9cd21cb317ec4040154b2261fc6f0c4 (patch)
tree9cc1e03c5b81ff6cb0b0e550c6dad2d9a627132e /src
parent79164cf45d00cfe04ced02abe9020d17d799cb7d (diff)
downloademacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.tar.gz
emacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.zip
(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/composite.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 17796a27326..21219613b39 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12008-09-09 Kenichi Handa <handa@m17n.org>
2
3 * composite.c (FORWARD_CHAR): Fix calculation
4 of (POSITION).pos_byte.
5
62008-09-08 Kenichi Handa <handa@m17n.org>
7
8 * indent.c (Fvertical_motion): Be sure to set
9 it_overshoot_expected if it.cmp_it.id is non-nengative.
10
12008-09-07 Andreas Schwab <schwab@suse.de> 112008-09-07 Andreas Schwab <schwab@suse.de>
2 12
3 * callproc.c (Fcall_process): Don't hold references to string data 13 * callproc.c (Fcall_process): Don't hold references to string data
diff --git a/src/composite.c b/src/composite.c
index dc1dd370c3b..12120f05ebb 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1197,8 +1197,8 @@ struct position_record
1197 } \ 1197 } \
1198 else \ 1198 else \
1199 { \ 1199 { \
1200 (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
1201 (POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \ 1200 (POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
1201 (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
1202 } \ 1202 } \
1203 } while (0) 1203 } while (0)
1204 1204