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

Diff for /mandoc/tbl_term.c between version 1.73 and 1.74

version 1.73, 2020/01/11 16:26:08 version 1.74, 2020/10/25 18:28:23
Line 190  term_tbl(struct termp *tp, const struct tbl_span *sp)
Line 190  term_tbl(struct termp *tp, const struct tbl_span *sp)
   
                 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin);                  tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin);
   
                 /* Tables leak .ta settings to subsequent text. */  
   
                 term_tab_set(tp, NULL);  
                 coloff = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ||  
                     sp->opts->lvert;  
                 for (ic = 0; ic < sp->opts->cols; ic++) {  
                         coloff += tp->tbl.cols[ic].width;  
                         term_tab_iset(coloff);  
                         coloff += tp->tbl.cols[ic].spacing;  
                 }  
   
                 /* Center the table as a whole. */                  /* Center the table as a whole. */
   
                 offset = tp->tcol->offset;                  offset = tp->tcol->offset;

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

CVSweb