=================================================================== RCS file: /cvs/mandoc/tbl_term.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- mandoc/tbl_term.c 2011/01/04 13:21:45 1.9 +++ mandoc/tbl_term.c 2011/01/04 15:02:00 1.10 @@ -1,4 +1,4 @@ -/* $Id: tbl_term.c,v 1.9 2011/01/04 13:21:45 kristaps Exp $ */ +/* $Id: tbl_term.c,v 1.10 2011/01/04 15:02:00 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -253,6 +253,9 @@ tbl_data(struct termp *tp, const struct tbl *tbl, } switch (dp->pos) { + case (TBL_DATA_NONE): + tbl_char(tp, ASCII_NBRSP, tbp->width); + return; case (TBL_DATA_HORIZ): /* FALLTHROUGH */ case (TBL_DATA_NHORIZ): @@ -420,14 +423,9 @@ tbl_calc(struct termp *tp, const struct tbl_span *sp) hp = sp->head; for ( ; sp; sp = sp->next) { - switch (sp->pos) { - case (TBL_DATA_HORIZ): - /* FALLTHROUGH */ - case (TBL_DATA_DHORIZ): + if (TBL_SPAN_DATA != sp->pos) continue; - default: - break; - } + for (dp = sp->first; dp; dp = dp->next) { if (NULL == dp->layout) continue;