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:
821a948
)
writeblobhtml, make fprintf format string const
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 1 Apr 2017 17:33:19 +0000
(19:33 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 1 Apr 2017 17:33:19 +0000
(19:33 +0200)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 06b6698d67fef3eba3252951a867e32b67fdd7b8..089f15bffe7b01bf10f04344cdbafeabeae5b547 100644
(file)
--- a/
stagit.c
+++ b/
stagit.c
@@
-380,7
+380,7
@@
writeblobhtml(FILE *fp, const git_blob *blob)
{
off_t i;
size_t n = 0;
- char *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
+ c
onst c
har *nfmt = "<a href=\"#l%d\" id=\"l%d\">%d</a>\n";
const char *s = git_blob_rawcontent(blob);
git_off_t len = git_blob_rawsize(blob);