From 189b9e23edfe60b7e82c4c7b6071a3f98799653a Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 26 Oct 2021 21:32:55 -0700 Subject: fix(unicode): renamed functions to be easier to understand their functions --- sys/libunicode/runelen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/libunicode/runelen.c') diff --git a/sys/libunicode/runelen.c b/sys/libunicode/runelen.c index 682400c..dac7f15 100644 --- a/sys/libunicode/runelen.c +++ b/sys/libunicode/runelen.c @@ -4,5 +4,5 @@ int utf8·runelen(rune r) { byte s[10]; - return utf8·runetobyte(s, &r); + return utf8·encode(&r, s); } -- cgit v1.2.1