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

Diff for /src/usr.bin/mandoc/term_ascii.c between version 1.14 and 1.15

version 1.14, 2014/04/20 16:44:44 version 1.15, 2014/07/27 21:51:53
Line 245 
Line 245 
 {  {
         int             rc;          int             rc;
   
         return((rc = wcwidth(c)) < 0 ? 0 : rc);          if (c == ASCII_NBRSP)
                   c = ' ';
           rc = wcwidth(c);
           if (rc < 0)
                   rc = 0;
           return(rc);
 }  }
   
 static void  static void

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15