From fe280613af3e4e041372835b1366c83a3800cd07 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 26 Nov 2023 15:53:44 +0200 Subject: [PATCH] fix toHArr usage in another place --- src/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 93ed98f0..8e0edb89 100644 --- a/src/main.c +++ b/src/main.c @@ -797,14 +797,13 @@ void cbqn_runLine0(char* ln, i64 read) { return; #endif } else if (isCmd(cmdS, &cmdE, "e ") || isCmd(cmdS, &cmdE, "explain ")) { - B expl = bqn_explain(utf8Decode0(cmdE), replPath); - HArr* expla = toHArr(expl); + HArr* expla = toHArr(bqn_explain(utf8Decode0(cmdE), replPath)); usz ia=PIA(expla); for(usz i=0; ia[i]); putchar('\n'); } - dec(expl); + ptr_dec(expla); return; } else { printf("Unknown REPL command\n");