version 1.38, 2015/01/31 00:12:41 |
version 1.39, 2015/03/06 11:03:03 |
Line 66 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
Line 66 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
size_t rmargin, maxrmargin, tsz; |
size_t rmargin, maxrmargin, tsz; |
int ic, horiz, spans, vert; |
int ic, horiz, spans, vert; |
|
|
|
if (tp->tbl.cols == NULL) |
|
term_flushln(tp); |
|
|
rmargin = tp->rmargin; |
rmargin = tp->rmargin; |
maxrmargin = tp->maxrmargin; |
maxrmargin = tp->maxrmargin; |
|
|
Line 82 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
Line 85 term_tbl(struct termp *tp, const struct tbl_span *sp) |
|
*/ |
*/ |
|
|
if (tp->tbl.cols == NULL) { |
if (tp->tbl.cols == NULL) { |
term_flushln(tp); |
|
|
|
tp->tbl.len = term_tbl_len; |
tp->tbl.len = term_tbl_len; |
tp->tbl.slen = term_tbl_strlen; |
tp->tbl.slen = term_tbl_strlen; |
tp->tbl.arg = tp; |
tp->tbl.arg = tp; |