=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.96 retrieving revision 1.97 diff -u -r1.96 -r1.97 --- src/usr.bin/mandoc/mdoc_term.c 2010/07/16 00:03:29 1.96 +++ src/usr.bin/mandoc/mdoc_term.c 2010/07/21 21:44:28 1.97 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.96 2010/07/16 00:03:29 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.97 2010/07/21 21:44:28 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -1022,7 +1022,8 @@ if (NULL == n->child && NULL == m->name) return(0); - synopsis_pre(p, n); + if (MDOC_HEAD == n->type) + synopsis_pre(p, n->parent); if (MDOC_HEAD == n->type && n->next->child) { p->flags |= TERMP_NOSPACE | TERMP_NOBREAK | TERMP_HANG;