[BACK]Return to tbl_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/tbl_html.c between version 1.18 and 1.19

version 1.18, 2017/07/31 16:14:04 version 1.19, 2018/06/25 13:46:01
Line 77 
Line 77 
 static void  static void
 html_tblopen(struct html *h, const struct tbl_span *sp)  html_tblopen(struct html *h, const struct tbl_span *sp)
 {  {
         struct tag      *t;  
         int              ic;  
   
         if (h->tbl.cols == NULL) {          if (h->tbl.cols == NULL) {
                 h->tbl.len = html_tbl_len;                  h->tbl.len = html_tbl_len;
                 h->tbl.slen = html_tbl_strlen;                  h->tbl.slen = html_tbl_strlen;
                 h->tbl.sulen = html_tbl_sulen;                  h->tbl.sulen = html_tbl_sulen;
                 tblcalc(&h->tbl, sp, 0, 0);                  tblcalc(&h->tbl, sp, 0, 0);
         }          }
   
         assert(NULL == h->tblt);          assert(NULL == h->tblt);
         h->tblt = print_otag(h, TAG_TABLE, "c", "tbl");          h->tblt = print_otag(h, TAG_TABLE, "c", "tbl");
   
         t = print_otag(h, TAG_COLGROUP, "");  
         for (ic = 0; ic < sp->opts->cols; ic++)  
                 print_otag(h, TAG_COL, "shw", h->tbl.cols[ic].width);  
         print_tagq(h, t);  
 }  }
   
 void  void

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19