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

Diff for /mandoc/out.c between version 1.31 and 1.33

version 1.31, 2011/01/08 17:00:27 version 1.33, 2011/01/10 14:40:30
Line 399  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
Line 399  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
                  * to data cells in the data section.                   * to data cells in the data section.
                  */                   */
                 for (dp = sp->first; dp; dp = dp->next) {                  for (dp = sp->first; dp; dp = dp->next) {
                         if (NULL == dp->layout)                          assert(dp->layout);
                                 continue;  
                         col = &tbl->cols[dp->layout->head->ident];                          col = &tbl->cols[dp->layout->head->ident];
                         tblcalc_data(tbl, col, sp->tbl, dp);                          tblcalc_data(tbl, col, sp->tbl, dp);
                 }                  }
Line 527  tblcalc_number(struct rofftbl *tbl, struct roffcol *co
Line 526  tblcalc_number(struct rofftbl *tbl, struct roffcol *co
   
         psz = (*tbl->slen)(buf, tbl->arg);          psz = (*tbl->slen)(buf, tbl->arg);
   
         if (NULL != (cp = strchr(str, tp->decimal))) {          if (NULL != (cp = strrchr(str, tp->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.31  
changed lines
  Added in v.1.33

CVSweb