[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.306 and 1.308

version 1.306, 2015/02/01 23:10:35 version 1.308, 2015/02/05 01:46:56
Line 319  print_mdoc_node(DECL_ARGS)
Line 319  print_mdoc_node(DECL_ARGS)
          * invoked in a prior line, revert it to PREKEEP.           * invoked in a prior line, revert it to PREKEEP.
          */           */
   
         if (TERMP_KEEP & p->flags) {          if (p->flags & TERMP_KEEP && n->flags & MDOC_LINE) {
                 if (n->prev ? (n->prev->lastline != n->line) :                  p->flags &= ~TERMP_KEEP;
                     (n->parent && n->parent->line != n->line)) {                  p->flags |= TERMP_PREKEEP;
                         p->flags &= ~TERMP_KEEP;  
                         p->flags |= TERMP_PREKEEP;  
                 }  
         }          }
   
         /*          /*
Line 1093  termp_an_pre(DECL_ARGS)
Line 1090  termp_an_pre(DECL_ARGS)
                 p->flags |= TERMP_NOSPLIT;                  p->flags |= TERMP_NOSPLIT;
                 return(0);                  return(0);
         }          }
   
         if (n->child == NULL)  
                 return(0);  
   
         if (p->flags & TERMP_SPLIT)          if (p->flags & TERMP_SPLIT)
                 term_newln(p);                  term_newln(p);

Legend:
Removed from v.1.306  
changed lines
  Added in v.1.308

CVSweb