From f7563d1f978e2e2d276d4913659bcfe3eb053fa8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 26 Mar 2021 20:57:24 +0100 Subject: [PATCH] Revert ":art: Update TUI" This reverts commit 192c364a5f0364b63e6786eb2fd6191c5088e130. --- src/arg.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); } -- 2.43.0