summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/tbl_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-06-12 20:14:03 +0000
committerschwarze <schwarze@openbsd.org>2017-06-12 20:14:03 +0000
commitd1c3ec497dc257f0664a7be13ae195dc58b4e49a (patch)
tree18566cee07c015fa2e0de7590f8fb095a6a9f0c0 /usr.bin/mandoc/tbl_html.c
parentUse unlinkat() when removing the contents of a directory so we don't (diff)
downloadwireguard-openbsd-d1c3ec497dc257f0664a7be13ae195dc58b4e49a.tar.xz
wireguard-openbsd-d1c3ec497dc257f0664a7be13ae195dc58b4e49a.zip
fix column width calculation for text block cells
Diffstat (limited to 'usr.bin/mandoc/tbl_html.c')
-rw-r--r--usr.bin/mandoc/tbl_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/tbl_html.c b/usr.bin/mandoc/tbl_html.c
index c839d510ef9..b753fbabfa5 100644
--- a/usr.bin/mandoc/tbl_html.c
+++ b/usr.bin/mandoc/tbl_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tbl_html.c,v 1.16 2017/06/08 18:11:15 schwarze Exp $ */
+/* $OpenBSD: tbl_html.c,v 1.17 2017/06/12 20:14:03 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -81,7 +81,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);