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 | 3db79abdb1a5a61be157573ca909551cb2350b47 (patch) | |
tree | fbedcb5394b8b8930b8cced45ab5587674ebb37d /tbl_data.c | |
parent | a46db8d6dd0bb86c956e7c8fc3a7966c89e7d078 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |