mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-25 05:52:42 -08:00
(composition_compute_stop_pos): Reset cmp_it->id to -1 at first.
This commit is contained in:
parent
2564beceac
commit
053ca52bec
2 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
compose a grapheme cluster with the preceding base glyph.
|
||||
|
||||
* composite.c (composition_compute_stop_pos): Fix previous change.
|
||||
Reset cmp_it->id to -1 at first.
|
||||
|
||||
2008-09-10 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue