summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csview.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/csview.h')
-rw-r--r--include/stc/csview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h
index c48c6ae6..5db23a01 100644
--- a/include/stc/csview.h
+++ b/include/stc/csview.h
@@ -81,7 +81,7 @@ STC_INLINE csview_iter csview_end(const csview* self)
STC_INLINE void csview_next(csview_iter* it) {
it->ref += it->u8.chr.size;
it->u8.chr.size = utf8_chr_size(it->ref);
- if (it->ref == it->u8._end) it->ref = NULL;
+ if (it->ref == it->u8.end) it->ref = NULL;
}