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

Diff for /mandoc/out.c between version 1.52 and 1.54

version 1.52, 2014/10/14 02:16:06 version 1.54, 2014/12/04 02:05:42
Line 110  a2roffsu(const char *src, struct roffsu *dst, enum rof
Line 110  a2roffsu(const char *src, struct roffsu *dst, enum rof
         case '\0':          case '\0':
                 if (SCALE_MAX == def)                  if (SCALE_MAX == def)
                         return(0);                          return(0);
                 unit = SCALE_EN;                  unit = def;
                 break;                  break;
         case 'u':          case 'u':
                 unit = SCALE_BU;                  unit = SCALE_BU;
Line 158  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
Line 158  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
         tbl->cols = mandoc_calloc((size_t)sp->opts->cols,          tbl->cols = mandoc_calloc((size_t)sp->opts->cols,
             sizeof(struct roffcol));              sizeof(struct roffcol));
   
         for (maxcol = 0; sp; sp = sp->next) {          for (maxcol = -1; sp; sp = sp->next) {
                 if (TBL_SPAN_DATA != sp->pos)                  if (TBL_SPAN_DATA != sp->pos)
                         continue;                          continue;
                 spans = 1;                  spans = 1;

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.54

CVSweb