From ff29ab1ec7fd199fd0e9d0bd0884c1905dd0c1c1 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 10 Jun 2022 12:06:25 +0200 Subject: Fixed mistake. --- src/utf8code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utf8code.c') diff --git a/src/utf8code.c b/src/utf8code.c index b67ee36e..f64ede70 100644 --- a/src/utf8code.c +++ b/src/utf8code.c @@ -45,7 +45,7 @@ unsigned utf8_encode(char *out, uint32_t c) return 0; } -uint32_t utf8_peek(const char* s, int u8pos) { +uint32_t utf8_peek(const char* s, int pos) { int inc = -1; if (pos > 0) pos = -pos, inc = 1; -- cgit v1.2.3