[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.94 and 1.95

version 1.94, 2014/04/20 20:18:12 version 1.95, 2014/04/23 16:08:33
Line 301  a2width(const struct man_node *n, struct roffsu *su)
Line 301  a2width(const struct man_node *n, struct roffsu *su)
 static void  static void
 man_root_pre(MAN_ARGS)  man_root_pre(MAN_ARGS)
 {  {
         char             b[BUFSIZ];  
         struct htmlpair  tag[3];          struct htmlpair  tag[3];
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char            *title;          char            *title;
   
         b[0] = 0;  
         if (man->vol)  
                 (void)strlcat(b, man->vol, BUFSIZ);  
   
         assert(man->title);          assert(man->title);
         assert(man->msec);          assert(man->msec);
         mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);          mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
Line 335  man_root_pre(MAN_ARGS)
Line 330  man_root_pre(MAN_ARGS)
         PAIR_CLASS_INIT(&tag[0], "head-vol");          PAIR_CLASS_INIT(&tag[0], "head-vol");
         PAIR_INIT(&tag[1], ATTR_ALIGN, "center");          PAIR_INIT(&tag[1], ATTR_ALIGN, "center");
         print_otag(h, TAG_TD, 2, tag);          print_otag(h, TAG_TD, 2, tag);
         print_text(h, b);          if (NULL != man->vol)
                   print_text(h, man->vol);
         print_stagq(h, tt);          print_stagq(h, tt);
   
         PAIR_CLASS_INIT(&tag[0], "head-rtitle");          PAIR_CLASS_INIT(&tag[0], "head-rtitle");

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

CVSweb