projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7067223
)
layout: right align lines changed count in diffstat
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 30 Apr 2016 11:08:44 +0000
(13:08 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 30 Apr 2016 11:08:44 +0000
(13:08 +0200)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 4664fdc953f71779b18376c9f84596bd0da4f236..b27cbf63738aae86e15b2e1623e1e90583e283d7 100644
(file)
--- a/
stagit.c
+++ b/
stagit.c
@@
-464,7
+464,7
@@
printshowfile(FILE *fp, struct commitinfo *ci)
memset(&linestr, '+', add);
memset(&linestr[add], '-', del);
- fprintf(fp, "</td><td> |
%zu
<span class=\"i\">",
+ fprintf(fp, "</td><td> |
</td><td class=\"num\">%zu</td><td>
<span class=\"i\">",
ci->deltas[i]->addcount + ci->deltas[i]->delcount);
fwrite(&linestr, 1, add, fp);
fputs("</span><span class=\"d\">", fp);