=================================================================== RCS file: /cvs/mandoc/tbl_term.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -p -r1.47 -r1.48 --- mandoc/tbl_term.c 2017/06/12 19:05:47 1.47 +++ mandoc/tbl_term.c 2017/06/12 20:14:18 1.48 @@ -1,4 +1,4 @@ -/* $Id: tbl_term.c,v 1.47 2017/06/12 19:05:47 schwarze Exp $ */ +/* $Id: tbl_term.c,v 1.48 2017/06/12 20:14:18 schwarze Exp $ */ /* * Copyright (c) 2009, 2011 Kristaps Dzonsons * Copyright (c) 2011,2012,2014,2015,2017 Ingo Schwarze @@ -87,7 +87,7 @@ term_tbl(struct termp *tp, const struct tbl_span *sp) tp->tbl.sulen = term_tbl_sulen; tp->tbl.arg = tp; - tblcalc(&tp->tbl, sp, tp->tcol->rmargin - tp->tcol->offset); + tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); /* Center the table as a whole. */