[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.188 and 1.189

version 1.188, 2017/01/10 13:47:00 version 1.189, 2017/02/04 11:58:09
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 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010-2015, 2017 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 143  terminal_man(void *arg, const struct roff_man *man)
Line 143  terminal_man(void *arg, const struct roff_man *man)
         struct termp            *p;          struct termp            *p;
         struct roff_node        *n;          struct roff_node        *n;
         struct mtermp            mt;          struct mtermp            mt;
           size_t                   save_defindent;
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
         p->overstep = 0;          p->overstep = 0;
Line 170  terminal_man(void *arg, const struct roff_man *man)
Line 171  terminal_man(void *arg, const struct roff_man *man)
                         n = n->next;                          n = n->next;
                 }                  }
         } else {          } else {
                   save_defindent = p->defindent;
                 if (p->defindent == 0)                  if (p->defindent == 0)
                         p->defindent = 7;                          p->defindent = 7;
                 term_begin(p, print_man_head, print_man_foot, &man->meta);                  term_begin(p, print_man_head, print_man_foot, &man->meta);
Line 177  terminal_man(void *arg, const struct roff_man *man)
Line 179  terminal_man(void *arg, const struct roff_man *man)
                 if (n != NULL)                  if (n != NULL)
                         print_man_nodelist(p, &mt, n, &man->meta);                          print_man_nodelist(p, &mt, n, &man->meta);
                 term_end(p);                  term_end(p);
                   p->defindent = save_defindent;
         }          }
 }  }
   

Legend:
Removed from v.1.188  
changed lines
  Added in v.1.189

CVSweb