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

Diff for /mandoc/tbl_term.c between version 1.14 and 1.15

version 1.14, 2011/01/08 17:00:27 version 1.15, 2011/01/08 17:16:48
Line 400  tbl_number(struct termp *tp, const struct tbl *tbl,
Line 400  tbl_number(struct termp *tp, const struct tbl *tbl,
   
         psz = term_strlen(tp, buf);          psz = term_strlen(tp, buf);
   
         if (NULL != (cp = strchr(str, tbl->decimal))) {          if (NULL != (cp = strrchr(str, tbl->decimal))) {
                 buf[1] = '\0';                  buf[1] = '\0';
                 for (ssz = 0, i = 0; cp != &str[i]; i++) {                  for (ssz = 0, i = 0; cp != &str[i]; i++) {
                         buf[0] = str[i];                          buf[0] = str[i];

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

CVSweb