iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit 49b2a2f664d47cd98352daf4068933ae56633cf7
parent ab7bc829f2023b41b1edcf1926aa6a973169de41
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 15 Apr 2018 11:32:40 +0200

make arg.h work as usual

Diffstat:
Marg.h | 2+-
Miomenu.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arg.h b/arg.h @@ -3,7 +3,7 @@ extern char *argv0; -#define ARGBEGIN(argc, argv) \ +#define ARGBEGIN \ for (argv0 = *argv, argv++, argc--; \ argv[0] != NULL && argv[0][0] == '-' && argv[0][1] != '\0'; \ argc--, argv++) { \ diff --git a/iomenu.c b/iomenu.c @@ -436,7 +436,7 @@ main(int argc, char *argv[]) { int exit_code; - ARGBEGIN(argc, argv) { + ARGBEGIN { case '#': hsflag = 1; break;