diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-12-05 21:11:26 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-12-05 21:11:26 +0100 |
commit | 59912de009c27abec4f2be28d95a157bfedbb0d1 (patch) | |
tree | ab2f0929c289a864d22985e13951494412d7a156 /urmoms.c | |
parent | b069cb6fd50d180cd6afb272c0016a6715f126d9 (diff) |
fix menu separator if one or both of license or readme is missing
Diffstat (limited to 'urmoms.c')
-rw-r--r-- | urmoms.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |