vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 615c94fdd164b440a33770e9d793bc00f8f8abba
parent 372b62ffcd04f1ef6d8023dacb08e32e91416c09
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed,  3 May 2017 10:48:22 +0200

text: rename text_byte_get argument name

Diffstat:
Mtext.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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) {