[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.138 and 1.139

version 1.138, 2010/06/04 21:49:39 version 1.139, 2010/06/04 22:16:27
Line 1536  termp_fn_pre(DECL_ARGS)
Line 1536  termp_fn_pre(DECL_ARGS)
 {  {
         const struct mdoc_node  *nn;          const struct mdoc_node  *nn;
   
           /* NB: MDOC_LINE has no effect on this macro! */
           if (SEC_SYNOPSIS == n->sec) {
                   if (n->prev)
                           term_vspace(p);
           }
   
         term_fontpush(p, TERMFONT_BOLD);          term_fontpush(p, TERMFONT_BOLD);
         term_word(p, n->child->string);          term_word(p, n->child->string);
         term_fontpop(p);          term_fontpop(p);
Line 1566  static void
Line 1572  static void
 termp_fn_post(DECL_ARGS)  termp_fn_post(DECL_ARGS)
 {  {
   
         if (n->sec == SEC_SYNOPSIS && n->next && MDOC_LINE & n->flags)          /* NB: MDOC_LINE has no effect on this macro! */
                 term_vspace(p);          if (SEC_SYNOPSIS == n->sec)
                   term_newln(p);
 }  }
   
   

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139

CVSweb