summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-10 12:06:25 +0200
committerTyge Løvset <[email protected]>2022-06-10 12:06:25 +0200
commitff29ab1ec7fd199fd0e9d0bd0884c1905dd0c1c1 (patch)
tree9e0596791ce306515bd203dfc5aa53ef6acbca34 /src/utf8code.c
parentd564436422d842a52a00f8b3ef0fadec20625a0d (diff)
downloadSTC-modified-ff29ab1ec7fd199fd0e9d0bd0884c1905dd0c1c1.tar.gz
STC-modified-ff29ab1ec7fd199fd0e9d0bd0884c1905dd0c1c1.zip
Fixed mistake.
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;