diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-05 17:22:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-05 17:22:45 +0000 |
commit | 825a1ba18e52fa3b4350b266df9165a804b68573 (patch) | |
tree | 0756ff69eeb3ae57e213eb8c761cc48b366cd709 /mandocdb.c | |
parent | f0bdbf04c573205ec54e999b359710b52c412009 (diff) | |
download | mandoc-825a1ba18e52fa3b4350b266df9165a804b68573.tar.gz |
fix a typo that prevented names from .Dt from getting priority
over names from .Sh NAME
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1693,7 +1693,7 @@ parse_mdoc_Nm(struct mpage *mpage, const struct roff_meta *meta, if ( ! (mpage->name_head_done || n->child == NULL || n->child->string == NULL || strcasecmp(n->child->string, meta->title))) { - putkey(mpage, n->child->string, ROFFT_HEAD); + putkey(mpage, n->child->string, NAME_HEAD); mpage->name_head_done = 1; } return 0; |