From 3db79abdb1a5a61be157573ca909551cb2350b47 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 31 May 2013 21:37:17 +0000 Subject: The name "struct tbl" was badly misleading for two reasons: 1) This struct almost exclusively contains the table options. 2) Information about the table as a whole is actually in "struct tbl_node". Besides, "struct tbl" was almost impossible to search for. So rename it to "struct tbl_opts". No functional change. --- tbl_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tbl_data.c') diff --git a/tbl_data.c b/tbl_data.c index 3b409648..9b48aa69 100644 --- a/tbl_data.c +++ b/tbl_data.c @@ -1,4 +1,4 @@ -/* $Id: tbl_data.c,v 1.25 2012/05/27 17:54:54 schwarze Exp $ */ +/* $Id: tbl_data.c,v 1.26 2013/05/31 21:37:17 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -185,7 +185,7 @@ newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) dp = mandoc_calloc(1, sizeof(struct tbl_span)); dp->line = line; - dp->tbl = &tbl->opts; + dp->opts = &tbl->opts; dp->layout = rp; dp->head = tbl->first_head; -- cgit v1.2.3-56-ge451