(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.

This commit is contained in:
Kenichi Handa 2008-09-09 02:09:32 +00:00
parent 79164cf45d
commit d45a49e3b9
2 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -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)