From 73f06f505b2c3c9fc1e9fcc4e8b1a0bd0d85b374 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 23 Sep 2020 22:08:33 +0200 Subject: [PATCH] :bug: Fix stdin --- src/arg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arg.c b/src/arg.c index d3e9489b..36e90dd2 100644 --- a/src/arg.c +++ b/src/arg.c @@ -118,7 +118,7 @@ ANN m_bool _arg_parse(const Gwion gwion, Arg* arg) { arg_set_pass(gwion, tmp); break; case '\0': - arg->read_stdin = !!arg->read_stdin; + arg->read_stdin = !arg->read_stdin; break; default: gw_err(_("invalid arguments")); -- 2.43.0