[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.77 and 1.78

version 1.77, 2014/01/22 20:58:35 version 1.78, 2014/03/13 19:23:11
Line 179 
Line 179 
                              ASCII_BREAK == p->buf[j]))                               ASCII_BREAK == p->buf[j]))
                                 jhy = j;                                  jhy = j;
   
                           /*
                            * Hyphenation now decided, put back a real
                            * hyphen such that we get the correct width.
                            */
                           if (ASCII_HYPH == p->buf[j])
                                   p->buf[j] = '-';
   
                         vend += (*p->width)(p, p->buf[j]);                          vend += (*p->width)(p, p->buf[j]);
                 }                  }
   
Line 242 
Line 249 
                                 (*p->advance)(p, vbl);                                  (*p->advance)(p, vbl);
                                 p->viscol += vbl;                                  p->viscol += vbl;
                                 vbl = 0;                                  vbl = 0;
                         }  
   
                         if (ASCII_HYPH == p->buf[i]) {  
                                 (*p->letter)(p, '-');  
                                 p->viscol += (*p->width)(p, '-');  
                                 continue;  
                         }                          }
   
                         (*p->letter)(p, p->buf[i]);                          (*p->letter)(p, p->buf[i]);

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78