summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-04 09:42:38 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-04 09:42:38 +0000
commitb83a9d881333255c1539b3f392dc344efa32d674 (patch)
tree104fd14f6c3b0a6edecf61393e52b506ff214d57 /html.c
parent15ae9721617b86af0d3035bd1192a62ee7f8b9a9 (diff)
downloadmandoc-b83a9d881333255c1539b3f392dc344efa32d674.tar.gz
The bufcat() function in -T[x]html was eating one byte off the end of its
concatenated string. This for some reason hasn't been found before now... ? Anyway, fixed, and make the IDs created again be correctly prefixed by a letter as per the HTML spec.
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/html.c b/html.c
index 170e5361..bd4a18bb 100644
--- a/html.c
+++ b/html.c
@@ -595,7 +595,6 @@ bufcat(struct html *h, const char *p)
h->buflen = strlcat(h->buf, p, BUFSIZ);
assert(h->buflen < BUFSIZ);
- h->buflen--;
}
void