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