version 1.52, 2014/10/14 02:16:06 |
version 1.53, 2014/10/14 18:18:05 |
Line 158 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
Line 158 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
tbl->cols = mandoc_calloc((size_t)sp->opts->cols, |
tbl->cols = mandoc_calloc((size_t)sp->opts->cols, |
sizeof(struct roffcol)); |
sizeof(struct roffcol)); |
|
|
for (maxcol = 0; sp; sp = sp->next) { |
for (maxcol = -1; sp; sp = sp->next) { |
if (TBL_SPAN_DATA != sp->pos) |
if (TBL_SPAN_DATA != sp->pos) |
continue; |
continue; |
spans = 1; |
spans = 1; |