diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-22 22:05:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-22 22:05:43 +0000 |
commit | b4ebfe66378cd871166c11b869db7bd0df186be7 (patch) | |
tree | 50ee6119f63728a2c4994852edde9144409073a4 /usr.bin/mandoc/mandocdb.c | |
parent | 0c8a4a580a225bf2d3acb9fca9f3fb7b47ea18ae (diff) |
use the new function man_validate() here, too
Diffstat (limited to 'usr.bin/mandoc/mandocdb.c')
-rw-r--r-- | usr.bin/mandoc/mandocdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandocdb.c b/usr.bin/mandoc/mandocdb.c index 4762811a66f..62f39383b19 100644 --- a/usr.bin/mandoc/mandocdb.c +++ b/usr.bin/mandoc/mandocdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mandocdb.c,v 1.159 2015/10/20 02:00:49 schwarze Exp $ */ +/* $OpenBSD: mandocdb.c,v 1.160 2015/10/22 22:05:42 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -1178,6 +1178,7 @@ mpages_merge(struct mparse *mp) mpage->arch == NULL ? "" : mpage->arch); mpage->title = mandoc_strdup(man->meta.title); } else if (man != NULL && man->macroset == MACROSET_MAN) { + man_validate(man); mpage->form = FORM_SRC; mpage->sec = mandoc_strdup(man->meta.msec); mpage->arch = mandoc_strdup(mlink->arch); |