From a7ddb6ec4103182af944faf6e8eab831579a19ba Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 14 Oct 2014 02:16:06 +0000 Subject: Rudimentary implementation of the e, x, and z table layout modifiers to equalize, maximize, and ignore the width of columns. Does not yet take vertical rulers into account, and does not do line breaks within table cells. Considerably improves the lftp(1) manual; issue noticed by sthen@. --- tbl_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tbl_html.c') diff --git a/tbl_html.c b/tbl_html.c index 2a93de63..1de1bb8b 100644 --- a/tbl_html.c +++ b/tbl_html.c @@ -1,4 +1,4 @@ -/* $Id: tbl_html.c,v 1.12 2014/08/10 23:54:41 schwarze Exp $ */ +/* $Id: tbl_html.c,v 1.13 2014/10/14 02:16:06 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -57,7 +57,7 @@ html_tblopen(struct html *h, const struct tbl_span *sp) if (TBL_SPAN_FIRST & sp->flags) { h->tbl.len = html_tbl_len; h->tbl.slen = html_tbl_strlen; - tblcalc(&h->tbl, sp); + tblcalc(&h->tbl, sp, 0); } assert(NULL == h->tblt); -- cgit v1.2.3