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

Diff for /mandoc/tbl_layout.c between version 1.42 and 1.45

version 1.42, 2017/06/08 18:11:22 version 1.45, 2018/12/12 21:54:35
Line 20 
Line 20 
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <ctype.h>  #include <ctype.h>
   #include <stdint.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <time.h>  #include <time.h>
   
 #include "mandoc.h"  
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
   #include "mandoc.h"
   #include "tbl.h"
 #include "libmandoc.h"  #include "libmandoc.h"
 #include "libroff.h"  #include "libroff.h"
   
Line 298  tbl_layout(struct tbl_node *tbl, int ln, const char *p
Line 300  tbl_layout(struct tbl_node *tbl, int ln, const char *p
                                     tbl->parse, ln, pos, NULL);                                      tbl->parse, ln, pos, NULL);
                                 cell_alloc(tbl, tbl->first_row,                                  cell_alloc(tbl, tbl->first_row,
                                     TBL_CELL_LEFT);                                      TBL_CELL_LEFT);
                                   if (tbl->opts.lvert < tbl->first_row->vert)
                                           tbl->opts.lvert = tbl->first_row->vert;
                                 return;                                  return;
                         }                          }
   
Line 355  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
Line 359  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
         struct tbl_cell *p, *pp;          struct tbl_cell *p, *pp;
   
         p = mandoc_calloc(1, sizeof(*p));          p = mandoc_calloc(1, sizeof(*p));
           p->spacing = SIZE_MAX;
         p->pos = pos;          p->pos = pos;
   
         if ((pp = rp->last) != NULL) {          if ((pp = rp->last) != NULL) {

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.45

CVSweb