summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 06:22:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 06:22:44 +0000
commitd612b79e06155082b6342af68940fa671568998d (patch)
treec823b0d3420b6f66b76bf2249667aab2ed2ca0c2 /html.c
parent768ae2f18e90273f3a363fe0374c8dc61ecff26b (diff)
downloadmandoc-d612b79e06155082b6342af68940fa671568998d.tar.gz
Added mandoc_a2time() for proper date conversion.
Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 44988858..094cc86e 100644
--- a/html.c
+++ b/html.c
@@ -322,7 +322,8 @@ print_encode(struct html *h, const char *p)
sz = strcspn(p, "\\<>&");
fwrite(p, 1, sz, stdout);
- p += (int)sz;
+ p += /* LINTED */
+ sz;
if ('\\' == *p) {
print_escape(h, &p);