[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.8 and 1.9

version 1.8, 2011/01/02 20:34:05 version 1.9, 2011/01/03 13:59:21
Line 319  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
Line 319  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
                                 (TBL_CELL_VERT == p->pos ||                                  (TBL_CELL_VERT == p->pos ||
                                  TBL_CELL_DVERT == p->pos)) {                                   TBL_CELL_DVERT == p->pos)) {
                         hp = mandoc_calloc(1, sizeof(struct tbl_head));                          hp = mandoc_calloc(1, sizeof(struct tbl_head));
                           hp->ident = tbl->opts.cols++;
                         hp->prev = h->prev;                          hp->prev = h->prev;
                         if (h->prev)                          if (h->prev)
                                 h->prev->next = hp;                                  h->prev->next = hp;
Line 341  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
Line 342  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
         }          }
   
         hp = mandoc_calloc(1, sizeof(struct tbl_head));          hp = mandoc_calloc(1, sizeof(struct tbl_head));
           hp->ident = tbl->opts.cols++;
   
         if (tbl->last_head) {          if (tbl->last_head) {
                 hp->prev = tbl->last_head;                  hp->prev = tbl->last_head;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb