diff options
author | 2017-01-29 14:02:41 +0000 | |
---|---|---|
committer | 2017-01-29 14:02:41 +0000 | |
commit | 6c8b3ba49c51760959b4a79eeab51af6d3c58565 (patch) | |
tree | deb3073e4c3f988bd8db654066e65c4b75acc011 /mdoc_html.c | |
parent | 5a526843b7a81102e56a684b368893853ed01ee7 (diff) | |
download | mandoc-6c8b3ba49c51760959b4a79eeab51af6d3c58565.tar.gz mandoc-6c8b3ba49c51760959b4a79eeab51af6d3c58565.tar.zst mandoc-6c8b3ba49c51760959b4a79eeab51af6d3c58565.zip |
eliminate one useless struct and one level of indirection;
no functional change
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index eb35507e..b32aaaf3 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.263 2017/01/28 22:36:38 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.264 2017/01/29 14:02:42 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -349,7 +349,7 @@ print_mdoc_node(MDOC_ARGS) return; child = 1; - t = h->tags.head; + t = h->tag; n->flags &= ~NODE_ENDED; switch (n->type) { @@ -389,7 +389,7 @@ print_mdoc_node(MDOC_ARGS) */ if (h->tblt != NULL) { print_tblclose(h); - t = h->tags.head; + t = h->tag; } assert(h->tblt == NULL); if (mdocs[n->tok].pre && (n->end == ENDBODY_NOT || n->child)) |