[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.100 and 1.102

version 1.100, 2010/07/27 08:38:04 version 1.102, 2010/08/20 01:02:07
Line 1183  mdoc_bl_pre(MDOC_ARGS)
Line 1183  mdoc_bl_pre(MDOC_ARGS)
         ord = malloc(sizeof(struct ord));          ord = malloc(sizeof(struct ord));
         if (NULL == ord) {          if (NULL == ord) {
                 perror(NULL);                  perror(NULL);
                 exit(EXIT_FAILURE);                  exit(MANDOCLEVEL_SYSERR);
         }          }
         ord->cookie = n;          ord->cookie = n;
         ord->pos = 1;          ord->pos = 1;
Line 1457  mdoc_bd_pre(MDOC_ARGS)
Line 1457  mdoc_bd_pre(MDOC_ARGS)
         print_otag(h, TAG_DIV, 2, tag);          print_otag(h, TAG_DIV, 2, tag);
   
         for (nn = n->child; nn; nn = nn->next) {          for (nn = n->child; nn; nn = nn->next) {
                 if (nn->prev && nn->prev->line < nn->line) {  
                         print_text(h, "\n");  
                         h->flags |= HTML_NOSPACE;  
                 }  
                 print_mdoc_node(m, nn, h);                  print_mdoc_node(m, nn, h);
                   if (nn->next && nn->next->line == nn->line)
                           continue;
                   print_text(h, "\n");
                   h->flags |= HTML_NOSPACE;
         }          }
   
         return(0);          return(0);

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.102

CVSweb