=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.149 retrieving revision 1.150 diff -c -r1.149 -r1.150 *** src/usr.bin/mandoc/mdoc_term.c 2013/05/29 15:40:14 1.149 --- src/usr.bin/mandoc/mdoc_term.c 2013/05/29 16:11:32 1.150 *************** *** 1,4 **** ! /* $Id: mdoc_term.c,v 1.149 2013/05/29 15:40:14 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012 Ingo Schwarze --- 1,4 ---- ! /* $Id: mdoc_term.c,v 1.150 2013/05/29 16:11:32 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012 Ingo Schwarze *************** *** 309,322 **** */ if (TERMP_KEEP & p->flags || MDOC_SYNPRETTY & n->flags) { ! if (n->prev && n->prev->line != n->line) { p->flags &= ~TERMP_KEEP; p->flags |= TERMP_PREKEEP; - } else if (NULL == n->prev) { - if (n->parent && n->parent->line != n->line) { - p->flags &= ~TERMP_KEEP; - p->flags |= TERMP_PREKEEP; - } } } --- 309,318 ---- */ if (TERMP_KEEP & p->flags || MDOC_SYNPRETTY & n->flags) { ! if (n->prev ? (n->prev->line != n->line) : ! (n->parent && n->parent->line != n->line)) { p->flags &= ~TERMP_KEEP; p->flags |= TERMP_PREKEEP; } }