]> git.armaanb.net Git - stagit.git/commitdiff
remove double newline bloat
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 20:49:23 +0000 (21:49 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 20:49:23 +0000 (21:49 +0100)
urmoms-index.c
urmoms.c

index e9646a849cd75b12550eada380787cd87ebd6db5..bcb69359e213b50a0c2517788e48870f4bcdf8d8 100644 (file)
@@ -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);
index 62eebcacd81bc7d90a2449cf0223e7a12260a02a..19645fa1224244122531cdc62476b0ccf7bc9169 100644 (file)
--- 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);