aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-10 11:46:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-10 11:46:59 +0200
commit18aa993466ab857b2a56612dabd243992e987998 (patch)
tree4e7d4ca1df42eb25ed65bea36894595766e7b22f /text.c
parentdeca6f4d03d36e4980715ae6709f244f381b1175 (diff)
downloadvis-18aa993466ab857b2a56612dabd243992e987998.tar.gz
vis-18aa993466ab857b2a56612dabd243992e987998.tar.xz
Add comments where appropriate
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;