logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0014-stagit-.c-Custom-footer.patch (1383B)


  1. From 36b1b10f3e1bd7dec5ba15c3928586a7544da7d3 Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Sat, 21 Apr 2018 17:31:24 +0200
  4. Subject: [PATCH 14/22] stagit*.c: Custom footer
  5. ---
  6. stagit-index.c | 4 +++-
  7. stagit.c | 4 +++-
  8. 2 files changed, 6 insertions(+), 2 deletions(-)
  9. diff --git a/stagit-index.c b/stagit-index.c
  10. index b4142ff..3d38142 100644
  11. --- a/stagit-index.c
  12. +++ b/stagit-index.c
  13. @@ -90,7 +90,9 @@ writeheader(FILE *fp)
  14. void
  15. writefooter(FILE *fp)
  16. {
  17. - fputs("</tbody>\n</table>\n</div>\n</body>\n</html>\n", fp);
  18. + fputs("</tbody>\n</table>\n</div>\n",fp);
  19. + 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);
  20. + fputs("</body>\n</html>\n", fp);
  21. }
  22. int
  23. diff --git a/stagit.c b/stagit.c
  24. index aa1ea11..a20d8f4 100644
  25. --- a/stagit.c
  26. +++ b/stagit.c
  27. @@ -392,7 +392,9 @@ writeheader(FILE *fp, const char *title)
  28. void
  29. writefooter(FILE *fp)
  30. {
  31. - fputs("</main>\n</body>\n</html>\n", fp);
  32. + fputs("</main>\n", fp);
  33. + 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);
  34. + fputs("</body>\n</html>\n", fp);
  35. }
  36. int
  37. --
  38. 2.26.2