(wrong string) ée

From: <git_AT_suckless.org>
Date: Wed, 18 Oct 2017 19:07:18 +0200 (CEST)

commit 1095edd05b2962a49f8576757090c92e5b6d87ef
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed Oct 18 19:07:13 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed Oct 18 19:07:13 2017 +0200

    Fix error in arg.h
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/src/arg.h b/src/arg.h
index 0c2e23c..b280e69 100644
--- a/src/arg.h
+++ b/src/arg.h
_AT_@ -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_;\
Received on Wed Oct 18 2017 - 19:07:18 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 18 2017 - 19:12:30 CEST