version 1.43, 2011/09/20 23:05:49 |
version 1.44, 2012/05/27 17:54:54 |
Line 178 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
Line 178 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
tblcalc_data(tbl, col, sp->tbl, dp); |
tblcalc_data(tbl, col, sp->tbl, dp); |
} |
} |
} |
} |
|
|
/* |
|
* Calculate width of the spanners. These get one space for a |
|
* vertical line, two for a double-vertical line. |
|
*/ |
|
|
|
for ( ; hp; hp = hp->next) { |
|
col = &tbl->cols[hp->ident]; |
|
switch (hp->pos) { |
|
case (TBL_HEAD_VERT): |
|
col->width = (*tbl->len)(1, tbl->arg); |
|
break; |
|
case (TBL_HEAD_DVERT): |
|
col->width = (*tbl->len)(2, tbl->arg); |
|
break; |
|
default: |
|
break; |
|
} |
|
} |
|
} |
} |
|
|
static void |
static void |