From 0fde21d6d00d340a8ff3ee2c192be42eb0ef2b86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 15 Dec 2019 11:34:36 +0100 Subject: [PATCH] :art: Fix gwion_ini --- src/gwion.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gwion.c b/src/gwion.c index ccf79a88..c6f48a57 100644 --- a/src/gwion.c +++ b/src/gwion.c @@ -94,7 +94,8 @@ ANN m_bool gwion_ini(const Gwion gwion, Arg* arg) { gwion->type = (Type*)xcalloc(MAX_TYPE, sizeof(struct Type_*)); pass_default(gwion); arg->si = gwion->vm->bbq->si = new_soundinfo(gwion->mp); - return arg_parse(gwion, arg) > 0 ? gwion_ok(gwion, arg) : GW_ERROR; + CHECK_BB(arg_parse(gwion, arg)) + return gwion_ok(gwion, arg); } ANN void gwion_run(const Gwion gwion) { -- 2.43.0