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

Diff for /mandoc/mandoc.c between version 1.118 and 1.119

version 1.118, 2020/10/24 22:57:39 version 1.119, 2021/08/10 12:55:03
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2011-2015, 2017-2021 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * 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 74  mandoc_font(const char *cp, int sz)
Line 74  mandoc_font(const char *cp, int sz)
                 case 'C':                  case 'C':
                         switch (cp[1]) {                          switch (cp[1]) {
                         case 'B':                          case 'B':
                                 return ESCAPE_FONTBOLD;                                  return ESCAPE_FONTCB;
                         case 'I':                          case 'I':
                                 return ESCAPE_FONTITALIC;                                  return ESCAPE_FONTCI;
                         case 'R':                          case 'R':
                         case 'W':                          case 'W':
                                 return ESCAPE_FONTCW;                                  return ESCAPE_FONTCR;
                         default:                          default:
                                 return ESCAPE_ERROR;                                  return ESCAPE_ERROR;
                         }                          }

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119

CVSweb