=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/man_term.c,v retrieving revision 1.152 retrieving revision 1.153 diff -c -r1.152 -r1.153 *** src/usr.bin/mandoc/man_term.c 2017/05/07 21:44:33 1.152 --- src/usr.bin/mandoc/man_term.c 2017/05/09 14:09:37 1.153 *************** *** 1,4 **** ! /* $OpenBSD: man_term.c,v 1.152 2017/05/07 21:44:33 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: man_term.c,v 1.153 2017/05/09 14:09:37 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2015, 2017 Ingo Schwarze *************** *** 871,880 **** * If we have a space as the first character, break * before printing the line's data. */ ! if ('\0' == *n->string) { term_vspace(p); return; ! } else if (' ' == *n->string && NODE_LINE & n->flags) term_newln(p); term_word(p, n->string); --- 871,881 ---- * If we have a space as the first character, break * before printing the line's data. */ ! if (*n->string == '\0') { term_vspace(p); return; ! } else if (*n->string == ' ' && n->flags & NODE_LINE && ! (p->flags & TERMP_NONEWLINE) == 0) term_newln(p); term_word(p, n->string);