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

Diff for /mandoc/html.c between version 1.48 and 1.49

version 1.48, 2009/09/21 14:07:07 version 1.49, 2009/09/21 14:08:13
Line 2168  mdoc_sp_pre(MDOC_ARGS)
Line 2168  mdoc_sp_pre(MDOC_ARGS)
         int             len;          int             len;
         struct htmlpair tag;          struct htmlpair tag;
   
         if (MDOC_sp == n->tok)          switch (n->tok) {
           case (MDOC_sp):
                 len = n->child ? atoi(n->child->string) : 1;                  len = n->child ? atoi(n->child->string) : 1;
         else                  break;
           case (MDOC_br):
                   len = 0;
                   break;
           default:
                 len = 1;                  len = 1;
                   break;
           }
   
         buffmt("height: %dem", len);          buffmt("height: %dem", len);
   
         tag.key = ATTR_STYLE;          tag.key = ATTR_STYLE;
         tag.val = buf;          tag.val = buf;
         print_otag(h, TAG_DIV, 1, &tag);          print_otag(h, TAG_DIV, 1, &tag);

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

CVSweb