[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.106 and 1.108

version 1.106, 2014/12/02 10:08:06 version 1.108, 2014/12/23 09:31:46
Line 282  a2width(const struct man_node *n, struct roffsu *su)
Line 282  a2width(const struct man_node *n, struct roffsu *su)
   
         if (MAN_TEXT != n->type)          if (MAN_TEXT != n->type)
                 return(0);                  return(0);
         if (a2roffsu(n->string, su, SCALE_BU))          if (a2roffsu(n->string, su, SCALE_EN))
                 return(1);                  return(1);
   
         return(0);          return(0);
Line 362  man_br_pre(MAN_ARGS)
Line 362  man_br_pre(MAN_ARGS)
         if (MAN_sp == n->tok) {          if (MAN_sp == n->tok) {
                 if (NULL != (n = n->child))                  if (NULL != (n = n->child))
                         if ( ! a2roffsu(n->string, &su, SCALE_VS))                          if ( ! a2roffsu(n->string, &su, SCALE_VS))
                                 SCALE_VS_INIT(&su, atoi(n->string));                                  su.scale = 1.0;
         } else          } else
                 su.scale = 0.0;                  su.scale = 0.0;
   

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.108

CVSweb