logo

etc_portage

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

0010-stagit.c-Define-img-alt.patch (928B)


  1. From b9eccfb4bb6cf33bbbe231c2d277af2a104d5d2b Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Tue, 4 Apr 2017 18:57:41 +0200
  4. Subject: [PATCH 10/22] stagit.c: Define <img alt="">
  5. ---
  6. stagit.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/stagit.c b/stagit.c
  9. index 33edd82..ee7ffe9 100644
  10. --- a/stagit.c
  11. +++ b/stagit.c
  12. @@ -357,7 +357,7 @@ writeheader(FILE *fp, const char *title)
  13. name, relpath);
  14. fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", assetpath);
  15. fputs("</head>\n<body>\n<table><tr><td>", fp);
  16. - fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
  17. + fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"logo\" width=\"32\" height=\"32\" /></a>",
  18. assetpath);
  19. fputs("</td><td><h1>", fp);
  20. xmlencode(fp, strippedname, strlen(strippedname));
  21. --
  22. 2.26.2