changeset 98100:2eda9a0daa3e

(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.
author Kenichi Handa <handa@m17n.org>
date Tue, 09 Sep 2008 02:06:39 +0000
parents c42264a3bf7e
children e482d82aeb73
files src/composite.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/composite.c	Mon Sep 08 14:19:37 2008 +0000
+++ b/src/composite.c	Tue Sep 09 02:06:39 2008 +0000
@@ -1197,8 +1197,8 @@
       }									\
     else								\
       {									\
+	(POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p));	\
 	(POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p));		\
-	(POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p));	\
       }									\
   } while (0)