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

Diff for /mandoc/man_html.c between version 1.150 and 1.151

version 1.150, 2018/05/25 20:23:51 version 1.151, 2018/06/25 13:01:19
Line 557  man_IP_pre(MAN_ARGS)
Line 557  man_IP_pre(MAN_ARGS)
 static int  static int
 man_HP_pre(MAN_ARGS)  man_HP_pre(MAN_ARGS)
 {  {
         struct roffsu    sum, sui;  
         const struct roff_node *np;  
   
         if (n->type == ROFFT_HEAD)          if (n->type == ROFFT_HEAD)
                 return 0;                  return 0;
         else if (n->type != ROFFT_BLOCK)  
                 return 1;  
   
         np = n->head->child;          if (n->type == ROFFT_BLOCK) {
                   print_bvspace(h, n);
         if (np == NULL || !a2width(np, &sum))                  print_otag(h, TAG_DIV, "c", "HP");
                 SCALE_HS_INIT(&sum, INDENT);          }
   
         sui.unit = sum.unit;  
         sui.scale = -sum.scale;  
   
         print_bvspace(h, n);  
         print_otag(h, TAG_DIV, "csului", "Pp", &sum, &sui);  
         return 1;          return 1;
 }  }
   

Legend:
Removed from v.1.150  
changed lines
  Added in v.1.151

CVSweb