From 596e9ac6b361a726f97c390bc272f6c7506d3cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 3 May 2017 10:48:22 +0200 Subject: text: rename text_byte_get argument name --- text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.c') 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) { -- cgit v1.2.3