diff options
author | 2016-08-05 17:20:30 +0000 | |
---|---|---|
committer | 2016-08-05 17:20:30 +0000 | |
commit | 3cc36c2b3d1486e504b2301641f67ef18ced5030 (patch) | |
tree | 4e7438c42f8eed86834c78ea85e1a81489edf53c | |
parent | * Properly distinguish commands (.Ic) and command modifiers (.Cm). (diff) | |
download | wireguard-openbsd-3cc36c2b3d1486e504b2301641f67ef18ced5030.tar.xz wireguard-openbsd-3cc36c2b3d1486e504b2301641f67ef18ced5030.zip |
fix a typo that prevented names from .Dt from getting priority over
names from .Sh NAME; no dire consequences on OpenBSD since we no
longer have MLINKS for mdoc(7) pages
-rw-r--r-- | usr.bin/mandoc/mandocdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandocdb.c b/usr.bin/mandoc/mandocdb.c index 3022c0f75e5..1d7565b011c 100644 --- a/usr.bin/mandoc/mandocdb.c +++ b/usr.bin/mandoc/mandocdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mandocdb.c,v 1.174 2016/08/01 20:46:33 schwarze Exp $ */ +/* $OpenBSD: mandocdb.c,v 1.175 2016/08/05 17:20:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2016 Ingo Schwarze <schwarze@openbsd.org> @@ -1662,7 +1662,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; |