0014-stagit-.c-Custom-footer.patch (1383B)
- From 36b1b10f3e1bd7dec5ba15c3928586a7544da7d3 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Sat, 21 Apr 2018 17:31:24 +0200
- Subject: [PATCH 14/22] stagit*.c: Custom footer
- ---
- stagit-index.c | 4 +++-
- stagit.c | 4 +++-
- 2 files changed, 6 insertions(+), 2 deletions(-)
- diff --git a/stagit-index.c b/stagit-index.c
- index b4142ff..3d38142 100644
- --- a/stagit-index.c
- +++ b/stagit-index.c
- @@ -90,7 +90,9 @@ writeheader(FILE *fp)
- void
- writefooter(FILE *fp)
- {
- - fputs("</tbody>\n</table>\n</div>\n</body>\n</html>\n", fp);
- + fputs("</tbody>\n</table>\n</div>\n",fp);
- + fputs("\t<footer>Please <a href=\"https://hacktivis.me/about\">contact me</a> by any means for patches, issues(tracker will maybe be added oneday), thanks/donations, or whatever else.</footer>\n", fp);
- + fputs("</body>\n</html>\n", fp);
- }
- int
- diff --git a/stagit.c b/stagit.c
- index aa1ea11..a20d8f4 100644
- --- a/stagit.c
- +++ b/stagit.c
- @@ -392,7 +392,9 @@ writeheader(FILE *fp, const char *title)
- void
- writefooter(FILE *fp)
- {
- - fputs("</main>\n</body>\n</html>\n", fp);
- + fputs("</main>\n", fp);
- + fputs("\t<footer>Please <a href=\"https://hacktivis.me/about\">contact me</a> by any means for patches, issues(tracker will maybe be added oneday), thanks/donations, or whatever else.</footer>\n", fp);
- + fputs("</body>\n</html>\n", fp);
- }
- int
- --
- 2.26.2