Personal fork of stagit.
git clone git://
Log | Files | Refs | README | LICENSE

commit aaa0897f7d89e54e3c21384ec11a786c4ebf2866
parent 2e490f2ddb723b6b0a8c26d89e18edc9c2b9e120
Author: Samir Parikh <>
Date:   Fri, 12 Nov 2021 15:50:37 -0500

update stagit.c to reflect proper logo file format (I changed it from
.svg to .png) and relative path

Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -496,7 +496,7 @@ writeheader(FILE *fp, const char *title) if (description[0]) fputs(" - ", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/svg+xml\" href=\"../%slogo.svg\" />\n", relpath); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/svg+xml\" href=\"%slogo.png\" />\n", relpath); fprintf(fp, "<link rel=\"alternate icon\" href=\"../%sfavicon.ico\" />\n", relpath); fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n", name, relpath); @@ -504,7 +504,7 @@ writeheader(FILE *fp, const char *title) name, relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"../%sstyle.css\" />\n", relpath); fputs("</head>\n<body>\n<div id=\"head\"><table><tr><td>", fp); - fprintf(fp, "<a class=\"logo\" href=\"../%s\"><img src=\"../%slogo.svg\" alt=\"\" width=\"32\" height=\"32\" /></a>", + fprintf(fp, "<a class=\"logo\" href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><strong>", fp); xmlencode(fp, strippedname, strlen(strippedname));