=================================================================== RCS file: /cvs/mandoc/tbl.c,v retrieving revision 1.17 retrieving revision 1.19 diff -u -p -r1.17 -r1.19 --- mandoc/tbl.c 2011/01/02 10:10:57 1.17 +++ mandoc/tbl.c 2011/01/02 20:34:05 1.19 @@ -1,4 +1,4 @@ -/* $Id: tbl.c,v 1.17 2011/01/02 10:10:57 kristaps Exp $ */ +/* $Id: tbl.c,v 1.19 2011/01/02 20:34:05 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -153,6 +153,9 @@ tbl_end(struct tbl_node *tbl) TBL_MSG(tbl, MANDOCERR_TBLNODATA, tbl->line, tbl->pos); else tbl_calc(tbl); + + if (tbl->last_span) + tbl->last_span->flags |= TBL_SPAN_LAST; } static void @@ -196,9 +199,6 @@ static void tbl_calc_data(struct tbl_node *tbl, struct tbl_dat *data) { - /* - * This is the case with overrunning cells... - */ if (NULL == data->layout) return; @@ -310,5 +310,3 @@ tbl_calc_data_literal(struct tbl_dat *data) if (data->layout->head->width < sz) data->layout->head->width = sz; } - -