2538 |
after-string. */ |
after-string. */ |
2539 |
init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); |
init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); |
2540 |
|
|
2541 |
for (i = 0; i < it->n_overlay_strings; ++i) |
/* This only scans the current chunk -- it should scan all chunks. |
2542 |
|
However, OVERLAY_STRING_CHUNK_SIZE has been increased from 3 in 21.1 |
2543 |
|
to 16 in 22.1 to make this a lesser problem. */ |
2544 |
|
for (i = 0; i < it->n_overlay_strings && i < OVERLAY_STRING_CHUNK_SIZE; ++i) |
2545 |
{ |
{ |
2546 |
const char *s = SDATA (it->overlay_strings[i]); |
const char *s = SDATA (it->overlay_strings[i]); |
2547 |
const char *e = s + SBYTES (it->overlay_strings[i]); |
const char *e = s + SBYTES (it->overlay_strings[i]); |