]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix stdin
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 20:08:33 +0000 (22:08 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 20:08:33 +0000 (22:08 +0200)
src/arg.c

index d3e9489be8b995fdcfc8a706a2962de90d6bcf0a..36e90dd29f38c6711869978b998ac53e9afd4aac 100644 (file)
--- 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"));