From 1c645e11d8c56c354aa3af401ddba9b173423e28 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 8 Jul 2022 19:34:30 +0300 Subject: [PATCH] =?UTF-8?q?fix=20=E2=80=A2FromUTF8=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/builtins/sysfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/sysfn.c b/src/builtins/sysfn.c index 6352fa70..a3f000e2 100644 --- a/src/builtins/sysfn.c +++ b/src/builtins/sysfn.c @@ -1176,7 +1176,7 @@ B sys_c1(B t, B x) { else if (eqStr(c, U"rand")) cr = getRandNS(); else if (eqStr(c, U"rebqn")) cr = incG(bi_reBQN); else if (eqStr(c, U"primitives")) cr = getPrimitives(); - else if (eqStr(c, U"utf8Decode")) cr = incG(bi_fromUtf8); + else if (eqStr(c, U"fromutf8")) cr = incG(bi_fromUtf8); else if (eqStr(c, U"path")) cr = inc(REQ_PATH); else if (eqStr(c, U"name")) cr = inc(REQ_NAME); else if (eqStr(c, U"fchars")) cr = m_nfn(fCharsDesc, inc(REQ_PATH));