stagit-responsive

My mobile friendly fork of stagit
Log | Files | Refs | README | LICENSE

commit db02820a175c43cf1c225928bc09dd3fd5d93d71
parent 73f259f2557698a83c9fb7e11938feb775740741
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  6 Jan 2016 19:59:55 +0100

extra whitespace

Diffstat:
Mstagit-index.c | 2+-
Mstagit.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=\"32\" height=\"32\" /></td>\n"
 	        "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
 		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 commit</td></tr>"
 	      "</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>", relpath);
 	if (haslicense)
 		fprintf(fp, " | <a href=\"%sfile/LICENSE.html\">LICENSE</a>", relpath);
-	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