summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8code.c')
-rw-r--r--src/utf8code.c2
1 files changed, 1 insertions, 1 deletions
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;