[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.13

version 1.10, 2009/09/24 23:54:43 version 1.13, 2009/09/26 17:35:49
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 1327  mdoc_bd_pre(MDOC_ARGS)
Line 1327  mdoc_bd_pre(MDOC_ARGS)
                 switch (bl->args->argv[i].arg) {                  switch (bl->args->argv[i].arg) {
                 case (MDOC_Offset):                  case (MDOC_Offset):
                         assert(bl->args->argv[i].sz);                          assert(bl->args->argv[i].sz);
                         o = a2offs (bl->args->argv[i].value[0]);                          o = a2offs(bl->args->argv[i].value[0]);
                         break;                          break;
                 case (MDOC_Compact):                  case (MDOC_Compact):
                         c = 1;                          c = 1;
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.13

CVSweb