commit 1095edd05b2962a49f8576757090c92e5b6d87ef
parent c5a6b2a07e7188d49260df56494b53d592f7764f
Author: Mattias Andrée <maandree@kth.se>
Date: Wed, 18 Oct 2017 19:07:13 +0200
Fix error in arg.h
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/arg.h b/src/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][0] == '-' && argv[0][1];\
+ argv[0] && argv[0][0] && argv[0][1];\
argc--, argv++) {\
char argc_;\
char **argv_;\