diff options
Diffstat (limited to 'text.c')
| -rw-r--r-- | text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1392,7 +1392,7 @@ bool text_iterator_byte_next(Iterator *it, char *b) { return false; it->text++; /* special case for advancement to EOF */ - if (it->text == it->end && !it->piece->next->text) { + if (it->pos+1 == it->piece->text->size) { it->pos++; if (b) *b = '\0'; |
