[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.269 and 1.271

version 1.269, 2014/07/02 19:55:10 version 1.271, 2014/07/07 15:03:43
Line 275  terminal_mdoc(void *arg, const struct mdoc *mdoc)
Line 275  terminal_mdoc(void *arg, const struct mdoc *mdoc)
   
         term_begin(p, print_mdoc_head, print_mdoc_foot, meta);          term_begin(p, print_mdoc_head, print_mdoc_foot, meta);
   
         if (n->child)          if (n->child) {
                   if (MDOC_Sh != n->child->tok)
                           term_vspace(p);
                 print_mdoc_nodelist(p, NULL, meta, n->child);                  print_mdoc_nodelist(p, NULL, meta, n->child);
           }
   
         term_end(p);          term_end(p);
 }  }
Line 747  termp_it_pre(DECL_ARGS)
Line 750  termp_it_pre(DECL_ARGS)
                         term_word(p, "\\ \\ ");                          term_word(p, "\\ \\ ");
                 break;                  break;
         case LIST_inset:          case LIST_inset:
                 if (MDOC_BODY == n->type)                  if (MDOC_BODY == n->type && n->parent->head->nchild)
                         term_word(p, "\\ ");                          term_word(p, "\\ ");
                 break;                  break;
         default:          default:

Legend:
Removed from v.1.269  
changed lines
  Added in v.1.271

CVSweb