diff options
| author | Kenichi Handa | 2011-07-07 16:11:54 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-07-07 16:11:54 +0900 |
| commit | 15fa4783a39e7a8d99cc6b5e783307c08b25a823 (patch) | |
| tree | 051925a8b92aacbc5cda237901db7db3f7adb25f /src/composite.c | |
| parent | 38fe4016d4ff317499eaf66b242e19db3da4a23f (diff) | |
| download | emacs-15fa4783a39e7a8d99cc6b5e783307c08b25a823.tar.gz emacs-15fa4783a39e7a8d99cc6b5e783307c08b25a823.zip | |
Ignore a static composition that starts before the current checking position in redisplay.
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/composite.c b/src/composite.c index ec2595813aa..0ad0af90d07 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1042,6 +1042,7 @@ composition_compute_stop_pos (cmp_it, charpos, bytepos, endpos, string) | |||
| 1042 | cmp_it->id = -1; | 1042 | cmp_it->id = -1; |
| 1043 | cmp_it->ch = -2; | 1043 | cmp_it->ch = -2; |
| 1044 | if (find_composition (charpos, endpos, &start, &end, &prop, string) | 1044 | if (find_composition (charpos, endpos, &start, &end, &prop, string) |
| 1045 | && start >= charpos | ||
| 1045 | && COMPOSITION_VALID_P (start, end, prop)) | 1046 | && COMPOSITION_VALID_P (start, end, prop)) |
| 1046 | { | 1047 | { |
| 1047 | cmp_it->stop_pos = endpos = start; | 1048 | cmp_it->stop_pos = endpos = start; |