[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.75 and 1.76

version 1.75, 2011/09/20 14:20:47 version 1.76, 2011/09/21 09:57:11
Line 247 
Line 247 
          * indentation has to be set up explicitly.           * indentation has to be set up explicitly.
          */           */
         if (MAN_HP == n->parent->tok && p->rmargin < p->maxrmargin) {          if (MAN_HP == n->parent->tok && p->rmargin < p->maxrmargin) {
                 p->offset = p->rmargin + 1;                  p->offset = p->rmargin;
                 p->rmargin = p->maxrmargin;                  p->rmargin = p->maxrmargin;
                 p->flags &= ~(TERMP_NOBREAK | TERMP_TWOSPACE);                  p->flags &= ~(TERMP_NOBREAK | TERMP_TWOSPACE);
                 p->flags |= TERMP_NOSPACE;                  p->flags |= TERMP_NOSPACE;
Line 465 
Line 465 
                         len = (size_t)ival;                          len = (size_t)ival;
   
         one = term_len(p, 1);          one = term_len(p, 1);
         if (len > one)          if (len < one)
                 len -= one;  
         else  
                 len = one;                  len = one;
   
         p->offset = mt->offset;          p->offset = mt->offset;

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76