[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_term.c between version 1.166 and 1.168

version 1.166, 2015/01/24 02:41:49 version 1.168, 2015/01/30 22:04:44
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 949  print_man_node(DECL_ARGS)
Line 949  print_man_node(DECL_ARGS)
                  * Tables are preceded by a newline.  Then process a                   * Tables are preceded by a newline.  Then process a
                  * table line, which will cause line termination,                   * table line, which will cause line termination,
                  */                   */
                 if (TBL_SPAN_FIRST & n->span->flags)                  if (n->span->prev == NULL)
                         term_newln(p);                          term_newln(p);
                 term_tbl(p, n->span);                  term_tbl(p, n->span);
                 return;                  return;
Line 1007  static void
Line 1007  static void
 print_man_nodelist(DECL_ARGS)  print_man_nodelist(DECL_ARGS)
 {  {
   
         print_man_node(p, mt, n, meta);          while (n != NULL) {
         if ( ! n->next)                  print_man_node(p, mt, n, meta);
                 return;                  n = n->next;
         print_man_nodelist(p, mt, n->next, meta);          }
 }  }
   
 static void  static void

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.168

CVSweb