fix menu separator if one or both of license or readme is missing
This commit is contained in:
parent
b069cb6fd5
commit
59912de009
1 changed files with 3 additions and 3 deletions
6
urmoms.c
6
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;
|
||||
|
|
Loading…
Reference in a new issue