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

Diff for /mandoc/out.c between version 1.66 and 1.69

version 1.66, 2017/06/12 20:14:18 version 1.69, 2017/06/15 00:27:52
Line 85  a2roffsu(const char *src, struct roffsu *dst, enum rof
Line 85  a2roffsu(const char *src, struct roffsu *dst, enum rof
         case 'v':          case 'v':
                 dst->unit = SCALE_VS;                  dst->unit = SCALE_VS;
                 break;                  break;
         case '\0':  
                 endptr--;  
                 /* FALLTHROUGH */  
         default:          default:
                   endptr--;
                 if (SCALE_MAX == def)                  if (SCALE_MAX == def)
                         return NULL;                          return NULL;
                 dst->unit = def;                  dst->unit = def;
Line 157  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
Line 155  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
                         if (col->width < dp->layout->width)                          if (col->width < dp->layout->width)
                                 col->width = dp->layout->width;                                  col->width = dp->layout->width;
                         tblcalc_data(tbl, col, opts, dp,                          tblcalc_data(tbl, col, opts, dp,
                             rmargin && dp->block ?                              dp->block == 0 ? 0 :
                             rmargin / (sp->opts->cols + 1) : 0);                              dp->layout->width ? dp->layout->width :
                               rmargin ? (rmargin + sp->opts->cols / 2)
                               / (sp->opts->cols + 1) : 0);
                 }                  }
         }          }
   

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.69

CVSweb