[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.247 and 1.248

version 1.247, 2013/05/29 15:40:22 version 1.248, 2013/05/29 16:11:40
Line 313  print_mdoc_node(DECL_ARGS)
Line 313  print_mdoc_node(DECL_ARGS)
          */           */
   
         if (TERMP_KEEP & p->flags || MDOC_SYNPRETTY & n->flags) {          if (TERMP_KEEP & p->flags || MDOC_SYNPRETTY & n->flags) {
                 if (n->prev && n->prev->line != n->line) {                  if (n->prev ? (n->prev->line != n->line) :
                       (n->parent && n->parent->line != n->line)) {
                         p->flags &= ~TERMP_KEEP;                          p->flags &= ~TERMP_KEEP;
                         p->flags |= TERMP_PREKEEP;                          p->flags |= TERMP_PREKEEP;
                 } else if (NULL == n->prev) {  
                         if (n->parent && n->parent->line != n->line) {  
                                 p->flags &= ~TERMP_KEEP;  
                                 p->flags |= TERMP_PREKEEP;  
                         }  
                 }                  }
         }          }
   

Legend:
Removed from v.1.247  
changed lines
  Added in v.1.248

CVSweb