summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-30 04:11:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-30 04:11:50 +0000
commit37b1fa2022515dadb78d40e740849dfc6bd68996 (patch)
tree12ce733b8e92a238d28dd6d17b90b0e65aae6690 /out.c
parentbba48934f08def48237c6f8c8f3f11d6e6d61944 (diff)
downloadmandoc-37b1fa2022515dadb78d40e740849dfc6bd68996.tar.gz
Abolish struct tbl_head and replace it by an "int col" member in
struct tbl_cell. No functional change, minus 40 lines of code.
Diffstat (limited to 'out.c')
-rw-r--r--out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/out.c b/out.c
index 68e00253..d22b96ad 100644
--- a/out.c
+++ b/out.c
@@ -140,7 +140,7 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp,
spans = dp->spans;
if (1 < spans)
continue;
- icol = dp->layout->head->ident;
+ icol = dp->layout->col;
if (maxcol < icol)
maxcol = icol;
col = tbl->cols + icol;