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:
8e4eb29
)
align line numbers to 8 spaces
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 17 Apr 2017 14:39:03 +0000
(16:39 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 17 Apr 2017 14:39:03 +0000
(16:39 +0200)
... now it is done.
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 23901c8937d15e672de8cda8efe18cb9148d623c..f280542de6281741999ed2eba1d24b6d164f47d0 100644
(file)
--- a/
stagit.c
+++ b/
stagit.c
@@
-379,7
+379,7
@@
int
writeblobhtml(FILE *fp, const git_blob *blob)
{
size_t n = 0, i, prev;
- const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%
6d</a>
";
+ const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%
7d</a>
";
const char *s = git_blob_rawcontent(blob);
git_off_t len = git_blob_rawsize(blob);