=================================================================== RCS file: /cvs/mandoc/tbl_term.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -p -r1.23 -r1.24 --- mandoc/tbl_term.c 2012/05/27 17:59:23 1.23 +++ mandoc/tbl_term.c 2012/05/27 18:02:49 1.24 @@ -1,4 +1,4 @@ -/* $Id: tbl_term.c,v 1.23 2012/05/27 17:59:23 schwarze Exp $ */ +/* $Id: tbl_term.c,v 1.24 2012/05/27 18:02:49 schwarze Exp $ */ /* * Copyright (c) 2009, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012 Ingo Schwarze @@ -171,10 +171,14 @@ term_tbl(struct termp *tp, const struct tbl_span *sp) if (TBL_SPAN_LAST & sp->flags) { if (TBL_OPT_DBOX & sp->tbl->opts || - TBL_OPT_BOX & sp->tbl->opts) + TBL_OPT_BOX & sp->tbl->opts) { tbl_hframe(tp, sp, 0); - if (TBL_OPT_DBOX & sp->tbl->opts) + tp->skipvsp = 1; + } + if (TBL_OPT_DBOX & sp->tbl->opts) { tbl_hframe(tp, sp, 1); + tp->skipvsp = 2; + } assert(tp->tbl.cols); free(tp->tbl.cols); tp->tbl.cols = NULL;