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

Diff for /mandoc/mdoc_term.c between version 1.341 and 1.342

version 1.341, 2017/01/11 17:39:53 version 1.342, 2017/02/04 11:58:09
Line 258  terminal_mdoc(void *arg, const struct roff_man *mdoc)
Line 258  terminal_mdoc(void *arg, const struct roff_man *mdoc)
 {  {
         struct roff_node        *n;          struct roff_node        *n;
         struct termp            *p;          struct termp            *p;
           size_t                   save_defindent;
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
         p->overstep = 0;          p->overstep = 0;
Line 278  terminal_mdoc(void *arg, const struct roff_man *mdoc)
Line 279  terminal_mdoc(void *arg, const struct roff_man *mdoc)
                         n = n->next;                          n = n->next;
                 }                  }
         } else {          } else {
                   save_defindent = p->defindent;
                 if (p->defindent == 0)                  if (p->defindent == 0)
                         p->defindent = 5;                          p->defindent = 5;
                 term_begin(p, print_mdoc_head, print_mdoc_foot,                  term_begin(p, print_mdoc_head, print_mdoc_foot,
Line 290  terminal_mdoc(void *arg, const struct roff_man *mdoc)
Line 292  terminal_mdoc(void *arg, const struct roff_man *mdoc)
                         print_mdoc_nodelist(p, NULL, &mdoc->meta, n);                          print_mdoc_nodelist(p, NULL, &mdoc->meta, n);
                 }                  }
                 term_end(p);                  term_end(p);
                   p->defindent = save_defindent;
         }          }
 }  }
   

Legend:
Removed from v.1.341  
changed lines
  Added in v.1.342

CVSweb