From: Jérémie Astor Date: Fri, 26 Mar 2021 19:57:24 +0000 (+0100) Subject: Revert ":art: Update TUI" X-Git-Tag: nightly~812 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f7563d1f978e2e2d276d4913659bcfe3eb053fa8;p=gwion.git Revert ":art: Update TUI" This reverts commit 192c364a5f0364b63e6786eb2fd6191c5088e130. --- diff --git a/src/arg.c b/src/arg.c index d1f88402..91820ef0 100644 --- a/src/arg.c +++ b/src/arg.c @@ -55,6 +55,7 @@ ANN static void arg_init(Arg* arg) { vector_init(&arg->add); vector_init(&arg->lib); vector_init(&arg->config); + vector_add(&arg->lib, (vtype)plug_dir()); arg->color = COLOR_AUTO; } @@ -346,9 +347,5 @@ ANN m_bool arg_parse(const Gwion gwion, Arg* a) { return; #endif config_default(&arg); - if(_arg_parse(&arg) > 0) { - vector_add(&a->lib, (vtype)plug_dir()); - return GW_OK; - } - return GW_ERROR; + return _arg_parse(&arg); }