[BACK]Return to term_ascii.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term_ascii.c between version 1.25 and 1.26

version 1.25, 2014/04/20 16:46:05 version 1.26, 2014/07/27 21:52:16
Line 269  locale_width(const struct termp *p, int c)
Line 269  locale_width(const struct termp *p, int c)
 {  {
         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.25  
changed lines
  Added in v.1.26

CVSweb