From 18aa993466ab857b2a56612dabd243992e987998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 10 Sep 2014 11:46:59 +0200 Subject: Add comments where appropriate --- text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.c') 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; -- cgit v1.2.3