version 1.66, 2017/06/12 20:14:18 |
version 1.68, 2017/06/14 18:23:37 |
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 + 1) : 0); |
} |
} |
} |
} |
|
|