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-motions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-motions.c') diff --git a/text-motions.c b/text-motions.c index b2785d8..c453cab 100644 --- a/text-motions.c +++ b/text-motions.c @@ -89,7 +89,7 @@ size_t text_line_finish(Text *txt, size_t pos) { Iterator it = text_iterator_get(txt, text_line_end(txt, pos)); do text_iterator_byte_prev(&it, NULL); while (text_iterator_byte_get(&it, &c) && c != '\n' && c != '\r' && isspace(c)); - if (!isutf8(c)) + if (!ISUTF8(c)) text_iterator_char_prev(&it, NULL); return it.pos; } -- cgit v1.2.3