[BACK]Return to mdoc_man.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_man.c between version 1.50 and 1.51

version 1.50, 2013/06/02 18:16:51 version 1.51, 2013/09/15 18:48:26
Line 549 
Line 549 
 static void  static void
 print_node(DECL_ARGS)  print_node(DECL_ARGS)
 {  {
         const struct mdoc_node  *prev, *sub;          const struct mdoc_node  *sub;
         const struct manact     *act;          const struct manact     *act;
         int                      cond, do_sub;          int                      cond, do_sub;
   
Line 557 
Line 557 
          * Break the line if we were parsed subsequent the current node.           * Break the line if we were parsed subsequent the current node.
          * This makes the page structure be more consistent.           * This makes the page structure be more consistent.
          */           */
         prev = n->prev ? n->prev : n->parent;          if (MMAN_spc & outflags && MDOC_LINE & n->flags)
         if (MMAN_spc & outflags && prev && prev->line < n->line)  
                 outflags |= MMAN_nl;                  outflags |= MMAN_nl;
   
         act = NULL;          act = NULL;

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51