stagit-5hif7y

5hif7y's personal stagit fork
Log | Files | Refs | README | LICENSE

commit 91ff2dc29c267e38d2fe0d515f4761e47059aeae
parent 588036e97e67c6c0fa6e95c1bda7c254f81d5502
Author: 5hif7y <[email protected]>
Date:   Fri, 25 Apr 2025 03:54:25 -0300

fix typo and delete comment

Diffstat:
Mstagit.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -524,8 +524,7 @@ writeheader(FILE *fp, const char *title) fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); fputs("</head>\n<body>\n<table><tr><td>", fp); - //fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", - fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" onerror=\"this.onerror=null;this.src='..\\/logo.png';\" alt=\"\" width=\"32\" height=\"32\" /></a>", + fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" onerror=\"this.onerror=null;this.src='/logo.png';\" alt=\"\" width=\"32\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><h1>", fp); xmlencode(fp, strippedname, strlen(strippedname));