extra whitespace - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit db02820a175c43cf1c225928bc09dd3fd5d93d71 | |
parent 73f259f2557698a83c9fb7e11938feb775740741 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Wed, 6 Jan 2016 19:59:55 +0100 | |
extra whitespace | |
Diffstat: | |
M stagit-index.c | 2 +- | |
M stagit.c | 4 ++-- | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/stagit-index.c b/stagit-index.c | |
@@ -107,7 +107,7 @@ writeheader(FILE *fp) | |
fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\… | |
"<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><t… | |
relpath, name, description); | |
- fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n" | |
+ fputs("</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" | |
"<table id=\"index\"><thead>\n" | |
"<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last com… | |
"</thead><tbody>\n", fp); | |
diff --git a/stagit.c b/stagit.c | |
@@ -270,7 +270,7 @@ writeheader(FILE *fp) | |
fprintf(fp, " | <a href=\"%sfile/README.html\">README</a>", re… | |
if (haslicense) | |
fprintf(fp, " | <a href=\"%sfile/LICENSE.html\">LICENSE</a>", … | |
- fputs("</td></tr></table>\n<hr/><div id=\"content\">\n", fp); | |
+ fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp); | |
return 0; | |
} | |
@@ -278,7 +278,7 @@ writeheader(FILE *fp) | |
int | |
writefooter(FILE *fp) | |
{ | |
- return !fputs("</div></body>\n</html>", fp); | |
+ return !fputs("</div>\n</body>\n</html>\n", fp); | |
} | |
void |