From 57d70b0a2d945470402b9a9a61ce72289025a36c Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 10 Dec 2015 22:35:39 +0000 Subject: [PATCH] Right align numbers in tables --- urmoms.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/urmoms.c b/urmoms.c index 0b0cbe6..de49636 100644 --- a/urmoms.c +++ b/urmoms.c @@ -413,8 +413,9 @@ writelog(FILE *fp) git_revwalk_simplify_first_parent(w); /* TODO: also make "expanded" log ? (with message body) */ - fputs("\n" - "\n\n", fp); + fputs("
AgeCommit messageAuthorFiles+-
\n" + "" + "\n\n", fp); while (!git_revwalk_next(&id, w)) { relpath = ""; @@ -438,11 +439,11 @@ writelog(FILE *fp) fputs("\n", fp); @@ -610,7 +611,7 @@ writefiles(FILE *fp) xmlencode(fp, entry->path, strlen(entry->path)); fputs(".html\">", fp); xmlencode(fp, entry->path, strlen(entry->path)); - fputs("\n", fp); -- libgit2 1.1.1
AgeCommit messageAuthorFiles+-
", fp); if (ci->author) xmlencode(fp, ci->author->name, strlen(ci->author->name)); - fputs("", fp); + fputs("", fp); fprintf(fp, "%zu", ci->filecount); - fputs("", fp); + fputs("", fp); fprintf(fp, "+%zu", ci->addcount); - fputs("", fp); + fputs("", fp); fprintf(fp, "-%zu", ci->delcount); fputs("
", fp); + fputs("", fp); fprintf(fp, "%" PRIu64, entry->file_size); fputs("