summaryrefslogtreecommitdiffstats
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
commitf19a462f8c4f50fb9b2536a7f21f2530a2248ec5 (patch)
treea4b7c2a00a5157add44eee09afa27912bd7c18ee /tbl_data.c
parente57a2805d5b079c45fb7e9da2257e143248deef4 (diff)
downloadmandoc-f19a462f8c4f50fb9b2536a7f21f2530a2248ec5.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_data.c b/tbl_data.c
index 79e1baca..54baae99 100644
--- a/tbl_data.c
+++ b/tbl_data.c
@@ -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;