From a39b97ef0c1432973b5d815709925a82507c100b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 2 Nov 2009 06:22:44 +0000 Subject: 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. --- html.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 7433479f..5f921ad7 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.79 2009/11/01 15:34:44 kristaps Exp $ */ +/* $Id: html.c,v 1.80 2009/11/02 06:22:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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); -- cgit v1.2.3