aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-12 20:14:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-12 20:14:18 +0000
commitb9afab5e3f173e16ac169b27fa39efd01ea9afe7 (patch)
treef9f8499bf43fd06517a1fa6d47a76d0896583355 /tbl_html.c
parente0177b9bff2cd6141e183411fe5a31f6ba8fe1a9 (diff)
downloadmandoc-b9afab5e3f173e16ac169b27fa39efd01ea9afe7.tar.gz
mandoc-b9afab5e3f173e16ac169b27fa39efd01ea9afe7.tar.zst
mandoc-b9afab5e3f173e16ac169b27fa39efd01ea9afe7.zip
fix column width calculation for text block cells
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_html.c b/tbl_html.c
index 5db39af5..06fae5eb 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_html.c,v 1.21 2017/06/08 18:11:22 schwarze Exp $ */
+/* $Id: tbl_html.c,v 1.22 2017/06/12 20:14:18 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -83,7 +83,7 @@ html_tblopen(struct html *h, const struct tbl_span *sp)
h->tbl.len = html_tbl_len;
h->tbl.slen = html_tbl_strlen;
h->tbl.sulen = html_tbl_sulen;
- tblcalc(&h->tbl, sp, 0);
+ tblcalc(&h->tbl, sp, 0, 0);
}
assert(NULL == h->tblt);