[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.80 and 1.81

version 1.80, 2014/03/30 21:27:59 version 1.81, 2014/04/05 21:17:48
Line 626 
Line 626 
         size_t           width;          size_t           width;
         int              iop;          int              iop;
   
           iop = 0;
           width = 0;
         if (NULL != wstr) {          if (NULL != wstr) {
                 switch (*wstr) {                  switch (*wstr) {
                 case ('+'):                  case ('+'):
Line 637 
Line 639 
                         wstr++;                          wstr++;
                         break;                          break;
                 default:                  default:
                         iop = 0;  
                         break;                          break;
                 }                  }
                 if ( ! a2roffsu(wstr, &su, SCALE_MAX)) {                  if (a2roffsu(wstr, &su, SCALE_MAX))
                         wstr = NULL;                          width = term_hspan(p, &su);
                   else
                         iop = 0;                          iop = 0;
                 }  
         }          }
         width = (NULL != wstr) ? term_hspan(p, &su) : 0;  
         (*p->setwidth)(p, iop, width);          (*p->setwidth)(p, iop, width);
 }  }
   

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81