diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-10 11:46:59 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-10 11:46:59 +0200 |
| commit | 18aa993466ab857b2a56612dabd243992e987998 (patch) | |
| tree | 4e7d4ca1df42eb25ed65bea36894595766e7b22f /text-motions.c | |
| parent | deca6f4d03d36e4980715ae6709f244f381b1175 (diff) | |
| download | vis-18aa993466ab857b2a56612dabd243992e987998.tar.gz vis-18aa993466ab857b2a56612dabd243992e987998.tar.xz | |
Add comments where appropriate
Diffstat (limited to 'text-motions.c')
| -rw-r--r-- | text-motions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
