summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-09-09 02:09:32 +0000
committerKenichi Handa <handa@m17n.org>2008-09-09 02:09:32 +0000
commitd45a49e3b9cd21cb317ec4040154b2261fc6f0c4 (patch)
tree9cc1e03c5b81ff6cb0b0e550c6dad2d9a627132e
parent79164cf45d00cfe04ced02abe9020d17d799cb7d (diff)
downloademacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.tar.gz
emacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.tar.bz2
emacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.zip
(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.
-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 @@
+2008-09-09 Kenichi Handa <handa@m17n.org>
+
+ * composite.c (FORWARD_CHAR): Fix calculation
+ of (POSITION).pos_byte.
+
+2008-09-08 Kenichi Handa <handa@m17n.org>
+
+ * indent.c (Fvertical_motion): Be sure to set
+ it_overshoot_expected if it.cmp_it.id is non-nengative.
+
2008-09-07 Andreas Schwab <schwab@suse.de>
* 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
} \
else \
{ \
- (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
(POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
+ (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p)); \
} \
} while (0)