From 683270a1db8d09fde95315c9d146a32c5be55dae Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Oct 2017 18:15:27 +0200 Subject: Fix arg.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- arg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arg.h b/arg.h index b8169f3..6260f78 100644 --- a/arg.h +++ b/arg.h @@ -10,7 +10,7 @@ extern char *argv0; /* use main(int argc, char *argv[]) */ #define ARGBEGIN for (argv0 = *argv, argv++, argc--;\ - argv[0] && argv[0][1];\ + argv[0] && argv[0][0] && argv[0][1];\ argc--, argv++) {\ char argc_;\ char **argv_;\ -- cgit v1.2.3-70-g09d2