[hackers] [scc] [arg.h] fix block closing count logic || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 4 Jul 2016 20:36:48 +0200 (CEST)

commit c35a7cc631f65c8834a7ff12154bb0c2a8a63733
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Mon Jul 4 16:32:19 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Mon Jul 4 20:35:46 2016 +0200

    [arg.h] fix block closing count logic
    
    This fixes a bug introduced in 72b2248a.

diff --git a/inc/arg.h b/inc/arg.h
index da5455c..511d56c 100644
--- a/inc/arg.h
+++ b/inc/arg.h
_AT_@ -32,9 +32,13 @@ for (argv0 = *argv, argv++, argc--;\
 
 #define ARGOPERAND \
                 }\
- } else if (argv[0][0] != '\0')
+ } else if (argv[0][0] != '\0') {\
+ {
 
-#define ARGEND }
+#define ARGEND \
+ }\
+ }\
+}
 
 #define ARGC() argc_
 
Received on Mon Jul 04 2016 - 20:36:48 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 04 2016 - 20:48:35 CEST