=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.199 retrieving revision 1.200 diff -u -p -r1.199 -r1.200 --- mandoc/man_term.c 2017/05/07 21:44:49 1.199 +++ mandoc/man_term.c 2017/05/09 14:10:01 1.200 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.199 2017/05/07 21:44:49 schwarze Exp $ */ +/* $Id: man_term.c,v 1.200 2017/05/09 14:10:01 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017 Ingo Schwarze @@ -873,10 +873,11 @@ print_man_node(DECL_ARGS) * If we have a space as the first character, break * before printing the line's data. */ - if ('\0' == *n->string) { + if (*n->string == '\0') { term_vspace(p); return; - } else if (' ' == *n->string && NODE_LINE & n->flags) + } else if (*n->string == ' ' && n->flags & NODE_LINE && + (p->flags & TERMP_NONEWLINE) == 0) term_newln(p); term_word(p, n->string);