summaryrefslogtreecommitdiff
path: root/src/composite.c
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 /src/composite.c
parent79164cf45d00cfe04ced02abe9020d17d799cb7d (diff)
downloademacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.tar.gz
emacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.tar.bz2
emacs-d45a49e3b9cd21cb317ec4040154b2261fc6f0c4.zip
(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
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)