From: Hiltjo Posthuma Date: Sun, 20 Dec 2015 20:49:23 +0000 (+0100) Subject: remove double newline bloat X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=ae620515b04228887ff112b209b69d188e792570;p=forks%2Fstagit.git remove double newline bloat --- diff --git a/urmoms-index.c b/urmoms-index.c index e9646a8..bcb6935 100644 --- a/urmoms-index.c +++ b/urmoms-index.c @@ -101,7 +101,7 @@ writeheader(FILE *fp) xmlencode(fp, description, strlen(description)); fprintf(fp, "\n\n", relpath); fprintf(fp, "\n", relpath); - fputs("\n\n\n", fp); + fputs("\n\n", fp); fprintf(fp, "\n\n" "
\"\"

%s

%s
\n", relpath, name, description); diff --git a/urmoms.c b/urmoms.c index 62eebca..19645fa 100644 --- a/urmoms.c +++ b/urmoms.c @@ -226,7 +226,7 @@ writeheader(FILE *fp) fprintf(fp, "\n", name, relpath); fprintf(fp, "\n", relpath); - fputs("\n\n\n
", fp); + fputs("\n\n
", fp); fprintf(fp, "\"\"", relpath, relpath); fputs("

", fp);