saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 7fe442b894d6895be432431e1bc023428ad27394
parent 4c05c11ca0c501964da7a77889452cfb01d55caa
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 15 Jan 2017 23:19:57 +0100

fix generating first page, arg.h counts files from 0

Diffstat:
Msaait.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/saait.c b/saait.c @@ -385,7 +385,7 @@ main(int argc, char *argv[]) } /* pages */ - for (i = 1; i < argc; i++) { + for (i = 0; i < argc; i++) { c = readconfig(argv[i]); if ((p = strrchr(argv[i], '.')))