aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_data.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
commit3db79abdb1a5a61be157573ca909551cb2350b47 (patch)
treefbedcb5394b8b8930b8cced45ab5587674ebb37d /tbl_data.c
parenta46db8d6dd0bb86c956e7c8fc3a7966c89e7d078 (diff)
downloadmandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.gz
mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.zst
mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.zip
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.
Diffstat (limited to 'tbl_data.c')
-rw-r--r--tbl_data.c4
1 files changed, 2 insertions, 2 deletions
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 <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;