summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csview.h
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-08-11 08:31:53 +0200
committerTyge Lovset <[email protected]>2022-08-11 08:31:53 +0200
commit65199590def8459198f9460c5d975a1df22d00a8 (patch)
tree640777149b2fd23ed4dd0ee2faa1924d7011d6f4 /include/stc/csview.h
parent8b63c557e383736b617594d6c0f38956f770dc3b (diff)
downloadSTC-modified-65199590def8459198f9460c5d975a1df22d00a8.tar.gz
STC-modified-65199590def8459198f9460c5d975a1df22d00a8.zip
Renamed all iter members ._end to .end, to make them "public".
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;
}