[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.14 and 1.15

version 1.14, 2009/10/26 08:18:16 version 1.15, 2009/10/27 04:50:15
Line 234  a2width(const struct man_node *n, struct roffsu *su)
Line 234  a2width(const struct man_node *n, struct roffsu *su)
 static int  static int
 man_root_pre(MAN_ARGS)  man_root_pre(MAN_ARGS)
 {  {
         struct htmlpair  tag[2];          struct htmlpair  tag[3];
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char             b[BUFSIZ], title[BUFSIZ];          char             b[BUFSIZ], title[BUFSIZ];
   
Line 248  man_root_pre(MAN_ARGS)
Line 248  man_root_pre(MAN_ARGS)
         PAIR_CLASS_INIT(&tag[0], "header");          PAIR_CLASS_INIT(&tag[0], "header");
         bufcat_style(h, "width", "100%");          bufcat_style(h, "width", "100%");
         PAIR_STYLE_INIT(&tag[1], h);          PAIR_STYLE_INIT(&tag[1], h);
         t = print_otag(h, TAG_TABLE, 2, tag);          PAIR_SUMMARY_INIT(&tag[2], "header");
   
           t = print_otag(h, TAG_TABLE, 3, tag);
         tt = print_otag(h, TAG_TR, 0, NULL);          tt = print_otag(h, TAG_TR, 0, NULL);
   
         bufinit(h);          bufinit(h);
Line 282  man_root_pre(MAN_ARGS)
Line 284  man_root_pre(MAN_ARGS)
 static void  static void
 man_root_post(MAN_ARGS)  man_root_post(MAN_ARGS)
 {  {
         struct htmlpair  tag[2];          struct htmlpair  tag[3];
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char             b[DATESIZ];          char             b[DATESIZ];
   
Line 291  man_root_post(MAN_ARGS)
Line 293  man_root_post(MAN_ARGS)
         PAIR_CLASS_INIT(&tag[0], "footer");          PAIR_CLASS_INIT(&tag[0], "footer");
         bufcat_style(h, "width", "100%");          bufcat_style(h, "width", "100%");
         PAIR_STYLE_INIT(&tag[1], h);          PAIR_STYLE_INIT(&tag[1], h);
         t = print_otag(h, TAG_TABLE, 2, tag);          PAIR_SUMMARY_INIT(&tag[2], "footer");
   
           t = print_otag(h, TAG_TABLE, 3, tag);
         tt = print_otag(h, TAG_TR, 0, NULL);          tt = print_otag(h, TAG_TR, 0, NULL);
   
         bufinit(h);          bufinit(h);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb