stagit

fix menu separator if one or both of license or readme is missing

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 9c3041f parent: 92dd956
1 files changed, 3 insertions(+), 3 deletions(-)
Murmoms.c+3-3
M · urmoms.c +3, -3
 1@@ -140,11 +140,11 @@ writeheader(FILE *fp)
 2 	fprintf(fp, "<span class=\"desc\">%s</span><br/>", description);
 3 	fprintf(fp, "<a href=\"%slog.html\">Log</a> |", relpath);
 4 	fprintf(fp, "<a href=\"%sfiles.html\">Files</a>| ", relpath);
 5-	fprintf(fp, "<a href=\"%sstats.html\">Stats</a> | ", relpath);
 6+	fprintf(fp, "<a href=\"%sstats.html\">Stats</a>", relpath);
 7 	if (hasreadme)
 8-		fprintf(fp, "<a href=\"%sreadme.html\">README</a> | ", relpath);
 9+		fprintf(fp, " | <a href=\"%sreadme.html\">README</a>", relpath);
10 	if (haslicense)
11-		fprintf(fp, "<a href=\"%slicense.html\">LICENSE</a>", relpath);
12+		fprintf(fp, " | <a href=\"%slicense.html\">LICENSE</a>", relpath);
13 	fprintf(fp, "</center><hr/><pre>");
14 
15 	return 0;