[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.20 and 1.22

version 1.20, 2011/05/17 13:11:40 version 1.22, 2011/09/18 14:14:15
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 173  mod:
Line 173  mod:
                 goto mod;                  goto mod;
         case ('f'):          case ('f'):
                 break;                  break;
           case ('r'):
                   /* FALLTHROUGH */
         case ('b'):          case ('b'):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case ('i'):          case ('i'):
Line 185  mod:
Line 187  mod:
         }          }
   
         switch (tolower((unsigned char)p[(*pos)++])) {          switch (tolower((unsigned char)p[(*pos)++])) {
           case ('3'):
                   /* FALLTHROUGH */
         case ('b'):          case ('b'):
                 cp->flags |= TBL_CELL_BOLD;                  cp->flags |= TBL_CELL_BOLD;
                 goto mod;                  goto mod;
           case ('2'):
                   /* FALLTHROUGH */
         case ('i'):          case ('i'):
                 cp->flags |= TBL_CELL_ITALIC;                  cp->flags |= TBL_CELL_ITALIC;
                   goto mod;
           case ('1'):
                   /* FALLTHROUGH */
           case ('r'):
                 goto mod;                  goto mod;
         default:          default:
                 break;                  break;

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

CVSweb