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

Diff for /mandoc/mdoc_man.c between version 1.122 and 1.123

version 1.122, 2017/06/14 22:51:25 version 1.123, 2018/01/13 05:23:18
Line 1547  static int
Line 1547  static int
 pre_lk(DECL_ARGS)  pre_lk(DECL_ARGS)
 {  {
         const struct roff_node *link, *descr, *punct;          const struct roff_node *link, *descr, *punct;
         int display;  
   
         if ((link = n->child) == NULL)          if ((link = n->child) == NULL)
                 return 0;                  return 0;
Line 1570  pre_lk(DECL_ARGS)
Line 1569  pre_lk(DECL_ARGS)
         }          }
   
         /* Link target. */          /* Link target. */
         display = man_strlen(link->string) >= 26;  
         if (display) {  
                 print_line(".RS", MMAN_Bk_susp);  
                 print_word("6n");  
                 outflags |= MMAN_nl;  
         }  
         font_push('B');          font_push('B');
         print_word(link->string);          print_word(link->string);
         font_pop();          font_pop();
Line 1585  pre_lk(DECL_ARGS)
Line 1578  pre_lk(DECL_ARGS)
                 print_word(punct->string);                  print_word(punct->string);
                 punct = punct->next;                  punct = punct->next;
         }          }
         if (display)  
                 print_line(".RE", MMAN_nl);  
         return 0;          return 0;
 }  }
   

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123

CVSweb