summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-10 12:02:12 +0200
committerTyge Løvset <[email protected]>2022-06-10 12:02:12 +0200
commitd564436422d842a52a00f8b3ef0fadec20625a0d (patch)
tree4c04f8f7764f54ad5d166b1bc747382b628f0288 /src/utf8code.c
parent6fc13dad84b2b315ea33af180d907e63a632accd (diff)
downloadSTC-modified-d564436422d842a52a00f8b3ef0fadec20625a0d.tar.gz
STC-modified-d564436422d842a52a00f8b3ef0fadec20625a0d.zip
removed cstr_length() and csview_length() -> use .._size().
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 f64ede70..b67ee36e 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 pos) {
+uint32_t utf8_peek(const char* s, int u8pos) {
int inc = -1;
if (pos > 0)
pos = -pos, inc = 1;