stagit

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

commit 59912de009c27abec4f2be28d95a157bfedbb0d1
parent b069cb6fd50d180cd6afb272c0016a6715f126d9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  5 Dec 2015 21:11:26 +0100

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

Diffstat:
Murmoms.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/urmoms.c b/urmoms.c @@ -140,11 +140,11 @@ writeheader(FILE *fp) fprintf(fp, "<span class=\"desc\">%s</span><br/>", description); fprintf(fp, "<a href=\"%slog.html\">Log</a> |", relpath); fprintf(fp, "<a href=\"%sfiles.html\">Files</a>| ", relpath); - fprintf(fp, "<a href=\"%sstats.html\">Stats</a> | ", relpath); + fprintf(fp, "<a href=\"%sstats.html\">Stats</a>", relpath); if (hasreadme) - fprintf(fp, "<a href=\"%sreadme.html\">README</a> | ", relpath); + fprintf(fp, " | <a href=\"%sreadme.html\">README</a>", relpath); if (haslicense) - fprintf(fp, "<a href=\"%slicense.html\">LICENSE</a>", relpath); + fprintf(fp, " | <a href=\"%slicense.html\">LICENSE</a>", relpath); fprintf(fp, "</center><hr/><pre>"); return 0;