[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_term.c between version 1.156 and 1.157

version 1.156, 2014/11/21 01:52:53 version 1.157, 2014/12/02 10:08:06
Line 1018  out:
Line 1018  out:
          * -man doesn't have nested macros, we don't need to be           * -man doesn't have nested macros, we don't need to be
          * more specific than this.           * more specific than this.
          */           */
         if (MANT_LITERAL & mt->fl && ! (TERMP_NOBREAK & p->flags) &&          if (mt->fl & MANT_LITERAL &&
             (NULL == n->next || MAN_LINE & n->next->flags)) {              ! (p->flags & (TERMP_NOBREAK | TERMP_NONEWLINE)) &&
               (n->next == NULL || n->next->flags & MAN_LINE)) {
                 rm = p->rmargin;                  rm = p->rmargin;
                 rmax = p->maxrmargin;                  rmax = p->maxrmargin;
                 p->rmargin = p->maxrmargin = TERM_MAXMARGIN;                  p->rmargin = p->maxrmargin = TERM_MAXMARGIN;
                 p->flags |= TERMP_NOSPACE;                  p->flags |= TERMP_NOSPACE;
                 if (NULL != n->string && '\0' != *n->string)                  if (n->string != NULL && *n->string != '\0')
                         term_flushln(p);                          term_flushln(p);
                 else                  else
                         term_newln(p);                          term_newln(p);

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.157

CVSweb