[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.30 and 1.35

version 1.30, 2010/03/24 20:10:53 version 1.35, 2010/05/17 22:11:42
Line 26 
Line 26 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
   #include "mandoc.h"
 #include "out.h"  #include "out.h"
 #include "html.h"  #include "html.h"
 #include "man.h"  #include "man.h"
Line 106  static const struct htmlman mans[MAN_MAX] = {
Line 107  static const struct htmlman mans[MAN_MAX] = {
         { man_br_pre, NULL }, /* Sp */          { man_br_pre, NULL }, /* Sp */
         { man_ign_pre, NULL }, /* Vb */          { man_ign_pre, NULL }, /* Vb */
         { NULL, NULL }, /* Ve */          { NULL, NULL }, /* Ve */
         { man_ign_pre, NULL }, /* de */          { man_ign_pre, NULL }, /* AT */
         { man_ign_pre, NULL }, /* dei */  
         { man_ign_pre, NULL }, /* am */  
         { man_ign_pre, NULL }, /* ami */  
         { man_ign_pre, NULL }, /* ig */  
         { NULL, NULL }, /* . */  
 };  };
   
   
Line 162  print_man_head(MAN_ARGS)
Line 158  print_man_head(MAN_ARGS)
   
         print_gen_head(h);          print_gen_head(h);
         bufinit(h);          bufinit(h);
         buffmt(h, "%s(%d)", m->title, m->msec);          buffmt(h, "%s(%s)", m->title, m->msec);
   
         print_otag(h, TAG_TITLE, 0, NULL);          print_otag(h, TAG_TITLE, 0, NULL);
         print_text(h, h->buf);          print_text(h, h->buf);
Line 267  man_root_pre(MAN_ARGS)
Line 263  man_root_pre(MAN_ARGS)
         if (m->vol)          if (m->vol)
                 (void)strlcat(b, m->vol, BUFSIZ);                  (void)strlcat(b, m->vol, BUFSIZ);
   
         snprintf(title, BUFSIZ - 1, "%s(%d)", m->title, m->msec);          snprintf(title, BUFSIZ - 1, "%s(%s)", m->title, m->msec);
   
         PAIR_CLASS_INIT(&tag[0], "header");          PAIR_CLASS_INIT(&tag[0], "header");
         bufcat_style(h, "width", "100%");          bufcat_style(h, "width", "100%");

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.35

CVSweb