remove double newline bloat - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit ae620515b04228887ff112b209b69d188e792570 DIR parent b8fc56187ee8c2b726ccf0bc19305a2128f9c3fe HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Dec 2015 21:49:23 +0100 remove double newline bloat Diffstat: M urmoms-index.c | 2 +- M urmoms.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/urmoms-index.c b/urmoms-index.c @@ -101,7 +101,7 @@ writeheader(FILE *fp) xmlencode(fp, description, strlen(description)); fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); - fputs("</head>\n<body>\n\n", fp); + fputs("</head>\n<body>\n", fp); fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n", relpath, name, description); DIR diff --git a/urmoms.c b/urmoms.c @@ -226,7 +226,7 @@ writeheader(FILE *fp) fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n", name, relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); - fputs("</head>\n<body>\n\n<table><tr><td>", fp); + fputs("</head>\n<body>\n<table><tr><td>", fp); fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><h1>", fp);