X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/340b1503ec45a71e95d48a2b8d0005f53c3ef619..6fa9a1baff943f4d115847a9362593ac8855b30f:/mandocdb.c diff --git a/mandocdb.c b/mandocdb.c index 1ccab36d..00773a58 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.225 2016/08/01 20:53:13 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.226 2016/08/05 17:22:45 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011-2016 Ingo Schwarze @@ -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;