diff options
author | Kenichi Handa <handa@m17n.org> | 2008-09-10 12:02:20 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2008-09-10 12:02:20 +0000 |
commit | df77b5e0d6a2a1d9ed2b52df0b93c3fc18ec3519 (patch) | |
tree | 1464c770d3f365f799cd9eda5e2098ded1c0750d /src/composite.c | |
parent | 4d8f0cdef4396a867a1890d2ee7df83753cf132a (diff) | |
download | emacs-df77b5e0d6a2a1d9ed2b52df0b93c3fc18ec3519.tar.gz |
(composition_compute_stop_pos): Reset cmp_it->id to -1 at first.
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 be9871eef39..92e7a1e44cb 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1000,6 +1000,7 @@ composition_compute_stop_pos (cmp_it, charpos, bytepos, endpos, string) if (endpos > charpos + MAX_NEWLINE_DISTANCE) endpos = charpos + MAX_NEWLINE_DISTANCE; cmp_it->stop_pos = endpos; + cmp_it->id = -1; cmp_it->ch = -2; if (find_composition (charpos, endpos, &start, &end, &prop, string) && COMPOSITION_VALID_P (start, end, prop)) |