From 71fa4361c47e9ed2f3c6521e9273fabb41aadc20 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 30 Jan 2015 04:11:50 +0000 Subject: Abolish struct tbl_head and replace it by an "int col" member in struct tbl_cell. No functional change, minus 40 lines of code. --- out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'out.c') diff --git a/out.c b/out.c index 12c4d8f8..53b93fbe 100644 --- a/out.c +++ b/out.c @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.58 2015/01/28 02:23:49 schwarze Exp $ */ +/* $Id: out.c,v 1.59 2015/01/30 04:11:50 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2014, 2015 Ingo Schwarze @@ -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; -- cgit v1.2.3