[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.39 and 1.41

version 1.39, 2015/04/29 12:44:58 version 1.41, 2015/10/12 00:08:16
Line 115  mod:
Line 115  mod:
                     ln, *pos, "m");                      ln, *pos, "m");
                 goto mod;                  goto mod;
         case 'p':          case 'p':
                 /* FALLTHROUGH */  
         case 'v':          case 'v':
                 if (p[*pos] == '-' || p[*pos] == '+')                  if (p[*pos] == '-' || p[*pos] == '+')
                         (*pos)++;                          (*pos)++;
Line 168  mod:
Line 167  mod:
   
         switch (p[(*pos)++]) {          switch (p[(*pos)++]) {
         case '3':          case '3':
                 /* FALLTHROUGH */  
         case 'B':          case 'B':
                 cp->flags |= TBL_CELL_BOLD;                  cp->flags |= TBL_CELL_BOLD;
                 goto mod;                  goto mod;
         case '2':          case '2':
                 /* FALLTHROUGH */  
         case 'I':          case 'I':
                 cp->flags |= TBL_CELL_ITALIC;                  cp->flags |= TBL_CELL_ITALIC;
                 goto mod;                  goto mod;
         case '1':          case '1':
                 /* FALLTHROUGH */  
         case 'R':          case 'R':
                 goto mod;                  goto mod;
         default:          default:
Line 355  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
Line 351  cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e
         if (tbl->opts.cols <= p->col)          if (tbl->opts.cols <= p->col)
                 tbl->opts.cols = p->col + 1;                  tbl->opts.cols = p->col + 1;
   
         return(p);          return p;
 }  }

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

CVSweb