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:
444e41b
)
fix newline after header
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:03:39 +0000
(21:03 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:03:39 +0000
(21:03 +0100)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 92107cf61dbb523a54ee0dbdf0960e66008b48e9..28be94c90c99fb521c8abb93eb2f60eee4b9a3a7 100644
(file)
--- a/
stagit.c
+++ b/
stagit.c
@@
-410,7
+410,7
@@
printshowfile(struct commitinfo *ci)
break;
fputs("<span class=\"h\">", fp);
- xmlencode(fp, hunk->header,
strcspn(hunk->header, "\n")
);
+ xmlencode(fp, hunk->header,
hunk->header_len
);
fputs("</span>", fp);
for (k = 0; ; k++) {