[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_html.c between version 1.194 and 1.195

version 1.194, 2014/08/01 19:25:52 version 1.195, 2014/08/06 15:09:05
Line 380  print_mdoc_head(MDOC_ARGS)
Line 380  print_mdoc_head(MDOC_ARGS)
   
         print_gen_head(h);          print_gen_head(h);
         bufinit(h);          bufinit(h);
         bufcat_fmt(h, "%s(%s)", meta->title, meta->msec);          bufcat(h, meta->title);
           if (meta->msec)
                   bufcat_fmt(h, "(%s)", meta->msec);
         if (meta->arch)          if (meta->arch)
                 bufcat_fmt(h, " (%s)", meta->arch);                  bufcat_fmt(h, " (%s)", meta->arch);
   
Line 525  mdoc_root_pre(MDOC_ARGS)
Line 526  mdoc_root_pre(MDOC_ARGS)
                 mandoc_asprintf(&volume, "%s (%s)",                  mandoc_asprintf(&volume, "%s (%s)",
                     meta->vol, meta->arch);                      meta->vol, meta->arch);
   
         mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec);          if (NULL == meta->msec)
                   title = mandoc_strdup(meta->title);
           else
                   mandoc_asprintf(&title, "%s(%s)",
                       meta->title, meta->msec);
   
         PAIR_SUMMARY_INIT(&tag[0], "Document Header");          PAIR_SUMMARY_INIT(&tag[0], "Document Header");
         PAIR_CLASS_INIT(&tag[1], "head");          PAIR_CLASS_INIT(&tag[1], "head");

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195

CVSweb