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

Diff for /src/usr.bin/mandoc/term.c between version 1.27 and 1.28

version 1.27, 2010/04/07 23:15:05 version 1.28, 2010/04/12 22:52:19
Line 130 
Line 130 
         int              j;     /* temporary loop index */          int              j;     /* temporary loop index */
         int              jhy;   /* last hyphen before line overflow */          int              jhy;   /* last hyphen before line overflow */
         size_t           maxvis, mmax;          size_t           maxvis, mmax;
         static int       line_started = 0;  
   
         /*          /*
          * First, establish the maximum columns of "visible" content.           * First, establish the maximum columns of "visible" content.
Line 202 
Line 201 
                         /* LINTED */                          /* LINTED */
                         for (j = 0; j < (int)p->offset; j++)                          for (j = 0; j < (int)p->offset; j++)
                                 putchar(' ');                                  putchar(' ');
                 line_started = 1;  
   
                 /*                  /*
                  * Find out whether we would exceed the right margin.                   * Find out whether we would exceed the right margin.
Line 251 
Line 249 
         p->overstep = 0;          p->overstep = 0;
   
         if ( ! (TERMP_NOBREAK & p->flags)) {          if ( ! (TERMP_NOBREAK & p->flags)) {
                 if (line_started) {                  putchar('\n');
                         putchar('\n');  
                         line_started = 0;  
                 }  
                 return;                  return;
         }          }
   

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28