[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.17 and 1.18

version 1.17, 2009/10/24 13:13:20 version 1.18, 2009/10/27 21:40:07
Line 204 
Line 204 
                                 vis = 0;                                  vis = 0;
                         }                          }
                         /* Remove the overstep width. */                          /* Remove the overstep width. */
                         bp += overstep;                          bp += (int)/* LINTED */
                                   overstep;
                         overstep = 0;                          overstep = 0;
                 } else {                  } else {
                         for (j = 0; j < (int)vbl; j++)                          for (j = 0; j < (int)vbl; j++)
Line 222 
Line 223 
                 }                  }
                 vis += vsz;                  vis += vsz;
         }          }
   
         p->col = 0;          p->col = 0;
           overstep = 0;
   
         if ( ! (TERMP_NOBREAK & p->flags)) {          if ( ! (TERMP_NOBREAK & p->flags)) {
                 putchar('\n');                  putchar('\n');
                 return;                  return;
         }          }
   
         overstep = 0;  
         if (TERMP_HANG & p->flags) {          if (TERMP_HANG & p->flags) {
                 /* We need one blank after the tag. */                  /* We need one blank after the tag. */
                 overstep = /* LINTED */                  overstep = /* LINTED */
Line 545 
Line 547 
 {  {
   
         if (' ' != c) {          if (' ' != c) {
                 if (p->bold) {  
                         buffer(p, c);  
                         buffer(p, 8);  
                 }  
                 if (p->under) {                  if (p->under) {
                         buffer(p, '_');                          buffer(p, '_');
                           buffer(p, 8);
                   }
                   if (p->bold) {
                           buffer(p, c);
                         buffer(p, 8);                          buffer(p, 8);
                 }                  }
         }          }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18