Mercurial > emacs
changeset 71492:db787aec9421
(handle_composition_prop): Set stop_charpos before push_it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 27 Jun 2006 11:21:31 +0000 |
parents | c7bb40f0c3d5 |
children | cf0c35ec7c54 |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Jun 27 11:21:20 2006 +0000 +++ b/src/xdisp.c Tue Jun 27 11:21:31 2006 +0000 @@ -4488,7 +4488,9 @@ return HANDLED_RECOMPUTE_PROPS; } + it->stop_charpos = end; push_it (it); + it->method = GET_FROM_COMPOSITION; it->cmp_id = id; it->cmp_len = COMPOSITION_LENGTH (prop); @@ -4498,7 +4500,6 @@ it->len = (STRINGP (it->string) ? string_char_to_byte (it->string, end) : CHAR_TO_BYTE (end)) - pos_byte; - it->stop_charpos = end; handled = HANDLED_RETURN; } }