aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-05-03 10:48:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-05-03 10:48:22 +0200
commit596e9ac6b361a726f97c390bc272f6c7506d3cb5 (patch)
tree916571d175018c4b845bb70aee9840d422df2a70 /text.c
parent8b1dab5a83f1f01a5f1688d4fcb2a9d5007c5aae (diff)
downloadvis-596e9ac6b361a726f97c390bc272f6c7506d3cb5.tar.gz
vis-596e9ac6b361a726f97c390bc272f6c7506d3cb5.tar.xz
text: rename text_byte_get argument name
Diffstat (limited to 'text.c')
-rw-r--r--text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.c b/text.c
index bc0be04..0d337c3 100644
--- a/text.c
+++ b/text.c
@@ -1520,8 +1520,8 @@ bool text_iterator_char_prev(Iterator *it, char *c) {
return true;
}
-bool text_byte_get(Text *txt, size_t pos, char *buf) {
- return text_bytes_get(txt, pos, 1, buf);
+bool text_byte_get(Text *txt, size_t pos, char *byte) {
+ return text_bytes_get(txt, pos, 1, byte);
}
size_t text_bytes_get(Text *txt, size_t pos, size_t len, char *buf) {