diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-31 21:37:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-31 21:37:17 +0000 |
commit | f19a462f8c4f50fb9b2536a7f21f2530a2248ec5 (patch) | |
tree | a4b7c2a00a5157add44eee09afa27912bd7c18ee /tbl_data.c | |
parent | e57a2805d5b079c45fb7e9da2257e143248deef4 (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |