aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c1
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)
1000 if (endpos > charpos + MAX_NEWLINE_DISTANCE) 1000 if (endpos > charpos + MAX_NEWLINE_DISTANCE)
1001 endpos = charpos + MAX_NEWLINE_DISTANCE; 1001 endpos = charpos + MAX_NEWLINE_DISTANCE;
1002 cmp_it->stop_pos = endpos; 1002 cmp_it->stop_pos = endpos;
1003 cmp_it->id = -1;
1003 cmp_it->ch = -2; 1004 cmp_it->ch = -2;
1004 if (find_composition (charpos, endpos, &start, &end, &prop, string) 1005 if (find_composition (charpos, endpos, &start, &end, &prop, string)
1005 && COMPOSITION_VALID_P (start, end, prop)) 1006 && COMPOSITION_VALID_P (start, end, prop))