[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.309 and 1.310

version 1.309, 2015/02/11 14:15:12 version 1.310, 2015/02/12 12:24:33
Line 309  print_mdoc_node(DECL_ARGS)
Line 309  print_mdoc_node(DECL_ARGS)
         chld = 1;          chld = 1;
         offset = p->offset;          offset = p->offset;
         rmargin = p->rmargin;          rmargin = p->rmargin;
           n->flags &= ~MDOC_ENDED;
         n->prev_font = p->fonti;          n->prev_font = p->fonti;
   
         memset(&npair, 0, sizeof(struct termpair));          memset(&npair, 0, sizeof(struct termpair));
Line 361  print_mdoc_node(DECL_ARGS)
Line 362  print_mdoc_node(DECL_ARGS)
                 print_mdoc_nodelist(p, &npair, meta, n->child);                  print_mdoc_nodelist(p, &npair, meta, n->child);
   
         term_fontpopq(p,          term_fontpopq(p,
             (ENDBODY_NOT == n->end ? n : n->pending)->prev_font);              (ENDBODY_NOT == n->end ? n : n->body)->prev_font);
   
         switch (n->type) {          switch (n->type) {
         case MDOC_TEXT:          case MDOC_TEXT:
Line 381  print_mdoc_node(DECL_ARGS)
Line 382  print_mdoc_node(DECL_ARGS)
                  * that it must not call the post handler again.                   * that it must not call the post handler again.
                  */                   */
                 if (ENDBODY_NOT != n->end)                  if (ENDBODY_NOT != n->end)
                         n->pending->flags |= MDOC_ENDED;                          n->body->flags |= MDOC_ENDED;
   
                 /*                  /*
                  * End of line terminating an implicit block                   * End of line terminating an implicit block

Legend:
Removed from v.1.309  
changed lines
  Added in v.1.310

CVSweb