From d1b328d37a26503493b67bc1a5f65d77420e202f Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 27 Jun 2006 11:21:31 +0000 Subject: [PATCH] (handle_composition_prop): Set stop_charpos before push_it. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 0c46545a2ac..55ee9fc20e7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4488,7 +4488,9 @@ handle_composition_prop (it) 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 @@ handle_composition_prop (it) 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; } } -- 2.39.5