summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-06-27 11:21:31 +0000
committerKim F. Storm <storm@cua.dk>2006-06-27 11:21:31 +0000
commitd1b328d37a26503493b67bc1a5f65d77420e202f (patch)
tree62070dead3a575f28e086b9a84b69e4b5534c380 /src/xdisp.c
parent04405ad93e8984a2e2d29aef8d0bd7854e9ca3ea (diff)
downloademacs-d1b328d37a26503493b67bc1a5f65d77420e202f.tar.gz
(handle_composition_prop): Set stop_charpos before push_it.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}