From 59912de009c27abec4f2be28d95a157bfedbb0d1 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 5 Dec 2015 21:11:26 +0100 Subject: [PATCH] fix menu separator if one or both of license or readme is missing --- urmoms.c | 6 +++--- 1 file 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, "%s
", description); fprintf(fp, "Log |", relpath); fprintf(fp, "Files| ", relpath); - fprintf(fp, "Stats | ", relpath); + fprintf(fp, "Stats", relpath); if (hasreadme) - fprintf(fp, "README | ", relpath); + fprintf(fp, " | README", relpath); if (haslicense) - fprintf(fp, "LICENSE", relpath); + fprintf(fp, " | LICENSE", relpath); fprintf(fp, "
");
 
 	return 0;
--
libgit2 1.1.1