diff options
| author | Kim F. Storm | 2006-06-27 11:21:31 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-06-27 11:21:31 +0000 |
| commit | d1b328d37a26503493b67bc1a5f65d77420e202f (patch) | |
| tree | 62070dead3a575f28e086b9a84b69e4b5534c380 /src | |
| parent | 04405ad93e8984a2e2d29aef8d0bd7854e9ca3ea (diff) | |
| download | emacs-d1b328d37a26503493b67bc1a5f65d77420e202f.tar.gz emacs-d1b328d37a26503493b67bc1a5f65d77420e202f.zip | |
(handle_composition_prop): Set stop_charpos before push_it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
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) | |||
| 4488 | return HANDLED_RECOMPUTE_PROPS; | 4488 | return HANDLED_RECOMPUTE_PROPS; |
| 4489 | } | 4489 | } |
| 4490 | 4490 | ||
| 4491 | it->stop_charpos = end; | ||
| 4491 | push_it (it); | 4492 | push_it (it); |
| 4493 | |||
| 4492 | it->method = GET_FROM_COMPOSITION; | 4494 | it->method = GET_FROM_COMPOSITION; |
| 4493 | it->cmp_id = id; | 4495 | it->cmp_id = id; |
| 4494 | it->cmp_len = COMPOSITION_LENGTH (prop); | 4496 | it->cmp_len = COMPOSITION_LENGTH (prop); |
| @@ -4498,7 +4500,6 @@ handle_composition_prop (it) | |||
| 4498 | it->len = (STRINGP (it->string) | 4500 | it->len = (STRINGP (it->string) |
| 4499 | ? string_char_to_byte (it->string, end) | 4501 | ? string_char_to_byte (it->string, end) |
| 4500 | : CHAR_TO_BYTE (end)) - pos_byte; | 4502 | : CHAR_TO_BYTE (end)) - pos_byte; |
| 4501 | it->stop_charpos = end; | ||
| 4502 | handled = HANDLED_RETURN; | 4503 | handled = HANDLED_RETURN; |
| 4503 | } | 4504 | } |
| 4504 | } | 4505 | } |