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

Diff for /mandoc/man_term.c between version 1.232 and 1.233

version 1.232, 2019/07/23 17:53:35 version 1.233, 2020/01/20 10:37:15
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010-2015, 2017-2020 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 1180  tag_man(struct termp *p, struct roff_node *n)
Line 1180  tag_man(struct termp *p, struct roff_node *n)
   
         assert(n->type == ROFFT_TEXT);          assert(n->type == ROFFT_TEXT);
         cp = n->string;          cp = n->string;
         prio = 1;          prio = TAG_STRONG;
         for (;;) {          for (;;) {
                 switch (*cp) {                  switch (*cp) {
                 case ' ':                  case ' ':
                 case '\t':                  case '\t':
                         prio = INT_MAX;                          prio = TAG_WEAK;
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case '-':                  case '-':
                         cp++;                          cp++;

Legend:
Removed from v.1.232  
changed lines
  Added in v.1.233

CVSweb