[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.146 and 1.147

version 1.146, 2011/01/25 15:28:56 version 1.147, 2011/01/25 15:46:05
Line 833  static int
Line 833  static int
 mdoc_bx_pre(MDOC_ARGS)  mdoc_bx_pre(MDOC_ARGS)
 {  {
         struct htmlpair  tag;          struct htmlpair  tag;
         char             buf[3];  
   
         PAIR_CLASS_INIT(&tag, "unix");          PAIR_CLASS_INIT(&tag, "unix");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);
Line 848  mdoc_bx_pre(MDOC_ARGS)
Line 847  mdoc_bx_pre(MDOC_ARGS)
         }          }
   
         if (NULL != (n = n->next)) {          if (NULL != (n = n->next)) {
                 buf[0] = '-';  
                 buf[1] = toupper((unsigned char)*n->string);  
                 buf[2] = '\0';  
   
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
                 print_text(h, buf);                  print_text(h, "-");
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
                 print_text(h, n->string + 1);                  print_text(h, n->string);
         }          }
   
         return(0);          return(0);

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147

CVSweb