version 1.67, 2017/06/12 22:05:57 |
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 159 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
Line 157 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
tblcalc_data(tbl, col, opts, dp, |
tblcalc_data(tbl, col, opts, dp, |
dp->block == 0 ? 0 : |
dp->block == 0 ? 0 : |
dp->layout->width ? dp->layout->width : |
dp->layout->width ? dp->layout->width : |
rmargin ? rmargin / (sp->opts->cols + 1) : 0); |
rmargin ? (rmargin + sp->opts->cols / 2) |
|
/ (sp->opts->cols + 1) : 0); |
} |
} |
} |
} |
|
|