=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.61 retrieving revision 1.63 diff -u -p -r1.61 -r1.63 --- mandoc/mdoc_term.c 2009/07/24 12:47:35 1.61 +++ mandoc/mdoc_term.c 2009/07/25 16:03:03 1.63 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.61 2009/07/24 12:47:35 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.63 2009/07/25 16:03:03 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -674,6 +674,7 @@ fmt_block_vspace(struct termp *p, if (MDOC_Bl == bl->tok && arg_hasattr(MDOC_Compact, bl)) return; + assert(node); /* * Search through our prior nodes. If we follow a `Ss' or `Sh', @@ -858,7 +859,8 @@ termp_it_pre(DECL_ARGS) switch (type) { case (MDOC_Diag): - term_word(p, "\\ \\ "); + if (MDOC_BODY == node->type) + term_word(p, "\\ \\ "); break; case (MDOC_Inset): if (MDOC_BODY == node->type)