source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: fix a typo that prevented names from .Dt from getting priority
@ 2016-08-05 17:23 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-08-05 17:23 UTC (permalink / raw)
  To: source

Log Message:
-----------
fix a typo that prevented names from .Dt from getting priority
over names from .Sh NAME

Modified Files:
--------------
    mdocml:
        mandocdb.c

Revision Data
-------------
Index: mandocdb.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandocdb.c,v
retrieving revision 1.225
retrieving revision 1.226
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.225 -r1.226
--- mandocdb.c
+++ mandocdb.c
@@ -1693,7 +1693,7 @@ parse_mdoc_Nm(struct mpage *mpage, const
 	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;
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-05 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 17:23 mdocml: fix a typo that prevented names from .Dt from getting priority schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).