diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-30 10:42:44 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | 26eec4478f6ed63404923ad4f3bf25f411a61d99 (patch) | |
| tree | 73f3ebc0847a21edd427bf5171234a8e1278fedf /text.c | |
| parent | c3caed418e1472b649c6aafe0abe95e6f20aa39d (diff) | |
| download | vis-26eec4478f6ed63404923ad4f3bf25f411a61d99.tar.gz vis-26eec4478f6ed63404923ad4f3bf25f411a61d99.tar.xz | |
text: mark text_size argument as const
Diffstat (limited to 'text.c')
| -rw-r--r-- | text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1641,7 +1641,7 @@ char *text_bytes_alloc0(const Text *txt, size_t pos, size_t len) { return buf; } -size_t text_size(Text *txt) { +size_t text_size(const Text *txt) { return txt->size; } |
