diff options
| -rw-r--r-- | text.c | 2 | ||||
| -rw-r--r-- | text.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1409,7 +1409,7 @@ Iterator text_iterator_get(const Text *txt, size_t pos) { return it; } -bool text_iterator_byte_get(Iterator *it, char *b) { +bool text_iterator_byte_get(const Iterator *it, char *b) { if (text_iterator_valid(it)) { Text *txt = text_iterator_text(it); if (it->start <= it->text && it->text < it->end) { @@ -261,7 +261,7 @@ bool text_iterator_prev(Iterator*); * @defgroup iterator_byte * @{ */ -bool text_iterator_byte_get(Iterator*, char *b); +bool text_iterator_byte_get(const Iterator*, char *b); bool text_iterator_byte_prev(Iterator*, char *b); bool text_iterator_byte_next(Iterator*, char *b); bool text_iterator_byte_find_prev(Iterator*, char b); |
