=================================================================== RCS file: /cvs/mandoc/man_html.c,v retrieving revision 1.83 retrieving revision 1.85 diff -u -p -r1.83 -r1.85 --- mandoc/man_html.c 2011/10/09 22:10:53 1.83 +++ mandoc/man_html.c 2011/12/04 00:44:12 1.85 @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.83 2011/10/09 22:10:53 schwarze Exp $ */ +/* $Id: man_html.c,v 1.85 2011/12/04 00:44:12 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -178,6 +178,8 @@ print_man_head(MAN_ARGS) { print_gen_head(h); + assert(m->title); + assert(m->msec); bufcat_fmt(h, "%s(%s)", m->title, m->msec); print_otag(h, TAG_TITLE, 0, NULL); print_text(h, h->buf); @@ -305,6 +307,8 @@ man_root_pre(MAN_ARGS) if (m->vol) (void)strlcat(b, m->vol, BUFSIZ); + assert(m->title); + assert(m->msec); snprintf(title, BUFSIZ - 1, "%s(%s)", m->title, m->msec); PAIR_SUMMARY_INIT(&tag[0], "Document Header"); @@ -359,6 +363,7 @@ man_root_post(MAN_ARGS) PAIR_CLASS_INIT(&tag[0], "foot-date"); print_otag(h, TAG_TD, 1, tag); + assert(m->date); print_text(h, m->date); print_stagq(h, tt);