aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.c b/text.c
index dac2b41..9879f98 100644
--- a/text.c
+++ b/text.c
@@ -871,7 +871,7 @@ bool text_iterator_byte_prev(Iterator *it, char *b) {
bool text_iterator_char_next(Iterator *it, char *c) {
while (text_iterator_byte_next(it, NULL)) {
- if (isutf8(*it->text)) {
+ if (ISUTF8(*it->text)) {
if (c)
*c = *it->text;
return true;
@@ -882,7 +882,7 @@ bool text_iterator_char_next(Iterator *it, char *c) {
bool text_iterator_char_prev(Iterator *it, char *c) {
while (text_iterator_byte_prev(it, NULL)) {
- if (isutf8(*it->text)) {
+ if (ISUTF8(*it->text)) {
if (c)
*c = *it->text;
return true;