[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man_term.c between version 1.152 and 1.153

version 1.152, 2017/05/07 21:44:33 version 1.153, 2017/05/09 14:09:37
Line 871 
Line 871 
                  * If we have a space as the first character, break                   * If we have a space as the first character, break
                  * before printing the line's data.                   * before printing the line's data.
                  */                   */
                 if ('\0' == *n->string) {                  if (*n->string == '\0') {
                         term_vspace(p);                          term_vspace(p);
                         return;                          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_newln(p);
   
                 term_word(p, n->string);                  term_word(p, n->string);

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153