[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.53 and 1.54

version 1.53, 2017/06/16 20:01:06 version 1.54, 2017/06/17 14:55:30
Line 93  term_tbl(struct termp *tp, const struct tbl_span *sp)
Line 93  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 += 3;
                   }
   
                 /* 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.53  
changed lines
  Added in v.1.54

CVSweb