diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2018-08-09 15:17:53 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2018-08-10 16:17:24 +0000 |
commit | 6640c13beae5a8b03718dc6b7a9cda5dd6ab9024 (patch) | |
tree | bc4d8bf1793720d673715e41a87e0089ebdd9c4e /usr/src/cmd/mandoc/tbl_html.c | |
parent | 9fd537180d8c7ca186c4842f6262016f5e418d10 (diff) | |
download | illumos-gate-6640c13beae5a8b03718dc6b7a9cda5dd6ab9024.tar.gz |
9718 update mandoc to 1.14.4
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/mandoc/tbl_html.c')
-rw-r--r-- | usr/src/cmd/mandoc/tbl_html.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/usr/src/cmd/mandoc/tbl_html.c b/usr/src/cmd/mandoc/tbl_html.c index d59f1635d0..b87804fda3 100644 --- a/usr/src/cmd/mandoc/tbl_html.c +++ b/usr/src/cmd/mandoc/tbl_html.c @@ -1,4 +1,4 @@ -/* $Id: tbl_html.c,v 1.23 2017/07/31 16:14:10 schwarze Exp $ */ +/* $Id: tbl_html.c,v 1.24 2018/06/25 13:45:57 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -79,23 +79,14 @@ html_tbl_sulen(const struct roffsu *su, void *arg) static void html_tblopen(struct html *h, const struct tbl_span *sp) { - struct tag *t; - int ic; - if (h->tbl.cols == NULL) { h->tbl.len = html_tbl_len; h->tbl.slen = html_tbl_strlen; h->tbl.sulen = html_tbl_sulen; tblcalc(&h->tbl, sp, 0, 0); } - assert(NULL == h->tblt); h->tblt = print_otag(h, TAG_TABLE, "c", "tbl"); - - t = print_otag(h, TAG_COLGROUP, ""); - for (ic = 0; ic < sp->opts->cols; ic++) - print_otag(h, TAG_COL, "shw", h->tbl.cols[ic].width); - print_tagq(h, t); } void |