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

Diff for /mandoc/mdoc_html.c between version 1.193 and 1.194

version 1.193, 2014/07/30 00:19:16 version 1.194, 2014/08/01 19:25:52
Line 699  mdoc_nm_pre(MDOC_ARGS)
Line 699  mdoc_nm_pre(MDOC_ARGS)
         if (0 == len && meta->name)          if (0 == len && meta->name)
                 len = html_strlen(meta->name);                  len = html_strlen(meta->name);
   
         SCALE_HS_INIT(&su, (double)len);          SCALE_HS_INIT(&su, len);
         bufinit(h);          bufinit(h);
         bufcat_su(h, "width", &su);          bufcat_su(h, "width", &su);
         PAIR_STYLE_INIT(&tag, h);          PAIR_STYLE_INIT(&tag, h);
Line 1565  mdoc_sp_pre(MDOC_ARGS)
Line 1565  mdoc_sp_pre(MDOC_ARGS)
                         if ( ! a2roffsu(n->string, &su, SCALE_VS))                          if ( ! a2roffsu(n->string, &su, SCALE_VS))
                                 SCALE_VS_INIT(&su, atoi(n->string));                                  SCALE_VS_INIT(&su, atoi(n->string));
         } else          } else
                 su.scale = 0;                  su.scale = 0.0;
   
         bufinit(h);          bufinit(h);
         bufcat_su(h, "height", &su);          bufcat_su(h, "height", &su);

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194

CVSweb