From: Jérémie Astor Date: Sun, 15 Dec 2019 10:34:36 +0000 (+0100) Subject: :art: Fix gwion_ini X-Git-Tag: nightly~1990 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0fde21d6d00d340a8ff3ee2c192be42eb0ef2b86;p=gwion.git :art: Fix gwion_ini --- 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) {