[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.10 and 1.12

version 1.10, 2009/09/24 23:54:43 version 1.12, 2009/09/25 13:00:13
Line 525  mdoc_root_pre(MDOC_ARGS)
Line 525  mdoc_root_pre(MDOC_ARGS)
         tt = print_otag(h, TAG_TR, 0, NULL);          tt = print_otag(h, TAG_TR, 0, NULL);
   
         tag[0].key = ATTR_STYLE;          tag[0].key = ATTR_STYLE;
         tag[0].val = "width: 33%;";          tag[0].val = "width: 10%;";
         print_otag(h, TAG_TD, 1, tag);          print_otag(h, TAG_TD, 1, tag);
         print_text(h, title);          print_text(h, title);
         print_stagq(h, tt);          print_stagq(h, tt);
   
         tag[0].key = ATTR_STYLE;          tag[0].key = ATTR_STYLE;
         tag[0].val = "width: 33%; text-align: center;";          tag[0].val = "width: 80%; white-space: nowrap; text-align: center;";
         print_otag(h, TAG_TD, 1, tag);          print_otag(h, TAG_TD, 1, tag);
         print_text(h, b);          print_text(h, b);
         print_stagq(h, tt);          print_stagq(h, tt);
   
         tag[0].key = ATTR_STYLE;          tag[0].key = ATTR_STYLE;
         tag[0].val = "width: 33%; text-align: right;";          tag[0].val = "width: 10%; text-align: right;";
         print_otag(h, TAG_TD, 1, tag);          print_otag(h, TAG_TD, 1, tag);
         print_text(h, title);          print_text(h, title);
         print_tagq(h, t);          print_tagq(h, t);
Line 1597  mdoc_fn_pre(MDOC_ARGS)
Line 1597  mdoc_fn_pre(MDOC_ARGS)
   
         assert(n->child->string);          assert(n->child->string);
         sp = n->child->string;          sp = n->child->string;
         while ((ep = strchr(sp, ' '))) {          while (NULL != (ep = strchr(sp, ' '))) {
                 sz = MIN((int)(ep - sp), BUFSIZ - 1);                  sz = MIN((int)(ep - sp), BUFSIZ - 1);
                 (void)memcpy(nbuf, sp, (size_t)sz);                  (void)memcpy(nbuf, sp, (size_t)sz);
                 nbuf[sz] = '\0';                  nbuf[sz] = '\0';

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

CVSweb