version 1.70, 2019/03/18 08:00:34 |
version 1.71, 2019/06/11 16:04:36 |
Line 622 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
Line 622 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
(spp == NULL || cpn == NULL || |
(spp == NULL || cpn == NULL || |
cpn->pos != TBL_CELL_DOWN ? BRIGHT * hw : 0), 1); |
cpn->pos != TBL_CELL_DOWN ? BRIGHT * hw : 0), 1); |
|
|
|
col = tp->tbl.cols; |
for (;;) { |
for (;;) { |
col = tp->tbl.cols + cp->col; |
if (cp == NULL) |
|
col++; |
|
else |
|
col = tp->tbl.cols + cp->col; |
|
|
/* Print the horizontal line inside this column. */ |
/* Print the horizontal line inside this column. */ |
|
|
Line 649 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
Line 653 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
uw = 1; |
uw = 1; |
} |
} |
cpp = cpp->next; |
cpp = cpp->next; |
} |
} else if (spp != NULL && opts & TBL_OPT_ALLBOX) |
|
uw = 1; |
if (cp != NULL) |
if (cp != NULL) |
cp = cp->next; |
cp = cp->next; |
if (cpn != NULL) { |
if (cpn != NULL) { |
Line 661 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
Line 666 tbl_hrule(struct termp *tp, const struct tbl_span *spp |
|
cpn = cpn->next; |
cpn = cpn->next; |
while (dpn != NULL && dpn->layout != cpn) |
while (dpn != NULL && dpn->layout != cpn) |
dpn = dpn->next; |
dpn = dpn->next; |
} |
} else if (spn != NULL && opts & TBL_OPT_ALLBOX) |
if (cpp == NULL && cp == NULL && cpn == NULL) |
dw = 1; |
|
if (col + 1 == tp->tbl.cols + sp->opts->cols) |
break; |
break; |
|
|
/* Vertical lines do not cross spanned cells. */ |
/* Vertical lines do not cross spanned cells. */ |