diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-29 14:02:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-29 14:02:41 +0000 |
commit | 6c8b3ba49c51760959b4a79eeab51af6d3c58565 (patch) | |
tree | deb3073e4c3f988bd8db654066e65c4b75acc011 /man_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 'man_html.c')
-rw-r--r-- | man_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.130 2017/01/26 18:28:18 schwarze Exp $ */ +/* $Id: man_html.c,v 1.131 2017/01/29 14:02:42 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -197,7 +197,7 @@ print_man_node(MAN_ARGS) struct tag *t; child = 1; - t = h->tags.head; + t = h->tag; if (t == mh->nofill) t = t->next; @@ -240,7 +240,7 @@ print_man_node(MAN_ARGS) */ if (h->tblt) { print_tblclose(h); - t = h->tags.head; + t = h->tag; } if (mans[n->tok].pre) child = (*mans[n->tok].pre)(man, n, mh, h); |