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

Diff for /src/usr.bin/mandoc/mdoc_term.c between version 1.281 and 1.282

version 1.281, 2022/09/11 09:12:47 version 1.282, 2023/11/13 19:13:00
Line 248 
Line 248 
 {  {
         struct roff_node        *n, *nn;          struct roff_node        *n, *nn;
         struct termp            *p;          struct termp            *p;
         size_t                   save_defindent;  
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
         p->tcol->rmargin = p->maxrmargin = p->defrmargin;          p->tcol->rmargin = p->maxrmargin = p->defrmargin;
Line 273 
Line 272 
                         print_mdoc_nodelist(p, NULL, mdoc, n);                          print_mdoc_nodelist(p, NULL, mdoc, n);
                 term_newln(p);                  term_newln(p);
         } else {          } else {
                 save_defindent = p->defindent;  
                 if (p->defindent == 0)  
                         p->defindent = 5;  
                 term_begin(p, print_mdoc_head, print_mdoc_foot, mdoc);                  term_begin(p, print_mdoc_head, print_mdoc_foot, mdoc);
                 while (n != NULL &&                  while (n != NULL &&
                     (n->type == ROFFT_COMMENT ||                      (n->type == ROFFT_COMMENT ||
Line 287 
Line 283 
                         print_mdoc_nodelist(p, NULL, mdoc, n);                          print_mdoc_nodelist(p, NULL, mdoc, n);
                 }                  }
                 term_end(p);                  term_end(p);
                 p->defindent = save_defindent;  
         }          }
 }  }
   

Legend:
Removed from v.1.281  
changed lines
  Added in v.1.282