summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-12-05 21:11:26 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-05 21:11:26 +0100
commit59912de009c27abec4f2be28d95a157bfedbb0d1 (patch)
treeab2f0929c289a864d22985e13951494412d7a156
parentb069cb6fd50d180cd6afb272c0016a6715f126d9 (diff)
fix menu separator if one or both of license or readme is missing
-rw-r--r--urmoms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/urmoms.c b/urmoms.c
index cebe1b6..1fa4d6e 100644
--- 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;