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

Diff for /mandoc/tree.c between version 1.76 and 1.77

version 1.76, 2017/07/07 19:39:30 version 1.77, 2017/07/08 14:51:05
Line 202  print_mdoc(const struct roff_node *n, int indent)
Line 202  print_mdoc(const struct roff_node *n, int indent)
         }          }
   
         if (n->eqn)          if (n->eqn)
                 print_box(n->eqn->root->first, indent + 4);                  print_box(n->eqn->first, indent + 4);
         if (n->child)          if (n->child)
                 print_mdoc(n->child, indent +                  print_mdoc(n->child, indent +
                     (n->type == ROFFT_BLOCK ? 2 : 4));                      (n->type == ROFFT_BLOCK ? 2 : 4));
Line 287  print_man(const struct roff_node *n, int indent)
Line 287  print_man(const struct roff_node *n, int indent)
         }          }
   
         if (n->eqn)          if (n->eqn)
                 print_box(n->eqn->root->first, indent + 4);                  print_box(n->eqn->first, indent + 4);
         if (n->child)          if (n->child)
                 print_man(n->child, indent +                  print_man(n->child, indent +
                     (n->type == ROFFT_BLOCK ? 2 : 4));                      (n->type == ROFFT_BLOCK ? 2 : 4));

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

CVSweb