From 1becfa275c13d7a8856a1c53dc81854d529b8ea1 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Sun, 8 Oct 2017 11:42:29 +0300 Subject: [PATCH] textri() causes error when using javascript #328 --- src/jsapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsapi.c b/src/jsapi.c index b090deb..65c9567 100644 --- a/src/jsapi.c +++ b/src/jsapi.c @@ -747,7 +747,7 @@ static const struct{duk_c_function func; s32 params;} ApiFunc[] = {duk_circ, 4}, {duk_circb, 4}, {duk_tri, 7}, - {duk_textri,12}, + {duk_textri,14}, {duk_clip, 4}, {duk_music, 4}, {duk_sync, 0},