[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.21 and 1.22

version 1.21, 2009/11/15 06:45:31 version 1.22, 2009/11/15 06:53:59
Line 518  man_PP_pre(MAN_ARGS)
Line 518  man_PP_pre(MAN_ARGS)
   
         i = 0;          i = 0;
   
         if (MAN_ROOT == n->parent->tok) {          if (MAN_ROOT == n->parent->type) {
                 SCALE_HS_INIT(&su, INDENT);                  SCALE_HS_INIT(&su, INDENT);
                 bufcat_su(h, "margin-left", &su);                  bufcat_su(h, "margin-left", &su);
                 i++;                  i = 1;
         }          }
         if (n->next && n->next->child) {          if (n->prev) {
                 SCALE_VS_INIT(&su, 1);                  SCALE_VS_INIT(&su, 1);
                 bufcat_su(h, "margin-bottom", &su);                  bufcat_su(h, "margin-top", &su);
                 i++;                  i = 1;
         }          }
   
         PAIR_STYLE_INIT(&tag, h);          PAIR_STYLE_INIT(&tag, h);
         print_otag(h, TAG_DIV, i ? 1 : 0, &tag);          print_otag(h, TAG_DIV, i, &tag);
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

CVSweb