[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_html.c between version 1.58 and 1.59

version 1.58, 2011/06/18 12:40:57 version 1.59, 2011/07/05 04:12:41
Line 606 
Line 606 
                 return(1);                  return(1);
   
         bufinit(h);          bufinit(h);
           bufcat(h, "x");
         for (n = n->child; n; n = n->next) {          for (n = n->child; n; n = n->next) {
                 bufcat_id(h, n->string);                  bufcat_id(h, n->string);
                 if (n->next)                  if (n->next)
Line 632 
Line 633 
                 return(1);                  return(1);
   
         bufinit(h);          bufinit(h);
           bufcat(h, "x");
         for (n = n->child; n; n = n->next) {          for (n = n->child; n; n = n->next) {
                 bufcat_id(h, n->string);                  bufcat_id(h, n->string);
                 if (n->next)                  if (n->next)
Line 1629 
Line 1631 
         SCALE_VS_INIT(&su, 1);          SCALE_VS_INIT(&su, 1);
   
         if (MDOC_sp == n->tok) {          if (MDOC_sp == n->tok) {
                 if (n->child)                  if (NULL != (n = n->child))
                         a2roffsu(n->child->string, &su, SCALE_VS);                          if ( ! a2roffsu(n->string, &su, SCALE_VS))
                                   SCALE_VS_INIT(&su, atoi(n->string));
         } else          } else
                 su.scale = 0;                  su.scale = 0;
   

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59