[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man_term.c between version 1.178 and 1.179

version 1.178, 2018/12/31 11:01:34 version 1.179, 2019/01/05 00:36:46
Line 1 
Line 1 
 /*      $OpenBSD$ */  /*      $OpenBSD$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010-2015, 2017-2019 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 417 
Line 417 
                 return 0;                  return 0;
         }          }
   
         if ((n->flags & NODE_NOFILL) == 0) {          if (n->child == NULL)
                   return 0;
   
           if ((n->child->flags & NODE_NOFILL) == 0) {
                 p->flags |= TERMP_NOBREAK | TERMP_BRIND;                  p->flags |= TERMP_NOBREAK | TERMP_BRIND;
                 p->trailspace = 2;                  p->trailspace = 2;
         }          }

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.179