[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.180 and 1.181

version 1.180, 2010/08/07 17:11:17 version 1.181, 2010/08/09 00:00:37
Line 2119  termp_li_pre(DECL_ARGS)
Line 2119  termp_li_pre(DECL_ARGS)
 static int  static int
 termp_lk_pre(DECL_ARGS)  termp_lk_pre(DECL_ARGS)
 {  {
         const struct mdoc_node *nn;          const struct mdoc_node *nn, *sv;
   
         term_fontpush(p, TERMFONT_UNDER);          term_fontpush(p, TERMFONT_UNDER);
         nn = n->child;  
   
           nn = sv = n->child;
   
         if (NULL == nn->next)          if (NULL == nn->next)
                 return(1);                  return(1);
   
         term_word(p, nn->string);          for (nn = nn->next; nn; nn = nn->next)
                   term_word(p, nn->string);
   
         term_fontpop(p);          term_fontpop(p);
   
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         term_word(p, ":");          term_word(p, ":");
   
         term_fontpush(p, TERMFONT_BOLD);          term_fontpush(p, TERMFONT_BOLD);
         for (nn = nn->next; nn; nn = nn->next)          term_word(p, sv->string);
                 term_word(p, nn->string);  
         term_fontpop(p);          term_fontpop(p);
   
         return(0);          return(0);

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181

CVSweb