[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.120 and 1.121

version 1.120, 2011/09/20 14:20:48 version 1.121, 2011/09/21 09:57:13
Line 251  pre_literal(DECL_ARGS)
Line 251  pre_literal(DECL_ARGS)
          * 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 469  pre_HP(DECL_ARGS)
Line 469  pre_HP(DECL_ARGS)
                         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.120  
changed lines
  Added in v.1.121

CVSweb