[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.347 and 1.348

version 1.347, 2017/04/14 18:25:04 version 1.348, 2017/04/14 19:35:22
Line 1993  static int
Line 1993  static int
 termp_lk_pre(DECL_ARGS)  termp_lk_pre(DECL_ARGS)
 {  {
         const struct roff_node *link, *descr;          const struct roff_node *link, *descr;
           int display;
   
         if (NULL == (link = n->child))          if (NULL == (link = n->child))
                 return 0;                  return 0;
Line 2008  termp_lk_pre(DECL_ARGS)
Line 2009  termp_lk_pre(DECL_ARGS)
                 term_word(p, ":");                  term_word(p, ":");
         }          }
   
           display = term_strlen(p, link->string) >= 26;
           if (display) {
                   term_newln(p);
                   p->offset += term_len(p, p->defindent + 1);
           }
   
         term_fontpush(p, TERMFONT_BOLD);          term_fontpush(p, TERMFONT_BOLD);
         term_word(p, link->string);          term_word(p, link->string);
         term_fontpop(p);          term_fontpop(p);
   
           if (display)
                   term_newln(p);
   
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.347  
changed lines
  Added in v.1.348

CVSweb