From 17be0aeb4f3313539d44e650f964e12dc70f4260 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 6 Mar 2023 16:10:42 +0100 Subject: [PATCH] :bug: embed stuff --- src/arg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arg.c b/src/arg.c index 828d2c29..bd92ddea 100644 --- a/src/arg.c +++ b/src/arg.c @@ -46,7 +46,7 @@ ANN static inline void config_end(const Vector config) { } } -#ifndef GWION_CONFIG_ARGS +//#ifndef GWION_CONFIG_ARGS ANN static m_str plug_dir(void) { const m_str home = getenv("HOME"); const size_t sz = strlen(home); @@ -56,7 +56,7 @@ ANN static m_str plug_dir(void) { strcpy(plug_dir + sz, pdir); return plug_dir; } -#endif +//#endif enum arg_type { ARG_FILE, @@ -377,14 +377,14 @@ ANN m_bool _arg_parse(struct ArgInternal *arg) { return GW_OK; } -#ifndef GWION_CONFIG_ARGS +//#ifndef GWION_CONFIG_ARGS ANN static void config_default(struct ArgInternal *arg) { char *home = getenv("HOME"); char c[strlen(home) + strlen(GWIONRC) + 2]; sprintf(c, "%s/%s", home, GWIONRC); config_parse(arg, c); } -#endif +//#endif ANN m_bool arg_parse(const Gwion gwion, CliArg *a) { struct ArgInternal arg = {.gwion = gwion, .arg = a}; -- 2.43.0