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

Diff for /mandoc/html.c between version 1.149 and 1.150

version 1.149, 2011/07/07 14:34:11 version 1.150, 2011/10/05 21:35:17
Line 118  static void *
Line 118  static void *
 ml_alloc(char *outopts, enum htmltype type)  ml_alloc(char *outopts, enum htmltype type)
 {  {
         struct html     *h;          struct html     *h;
         const char      *toks[4];          const char      *toks[5];
         char            *v;          char            *v;
   
         toks[0] = "style";          toks[0] = "style";
         toks[1] = "man";          toks[1] = "man";
         toks[2] = "includes";          toks[2] = "includes";
         toks[3] = NULL;          toks[3] = "fragment";
           toks[4] = NULL;
   
         h = mandoc_calloc(1, sizeof(struct html));          h = mandoc_calloc(1, sizeof(struct html));
   
Line 142  ml_alloc(char *outopts, enum htmltype type)
Line 143  ml_alloc(char *outopts, enum htmltype type)
                         break;                          break;
                 case (2):                  case (2):
                         h->base_includes = v;                          h->base_includes = v;
                           break;
                   case (3):
                           h->oflags |= HTML_FRAGMENT;
                         break;                          break;
                 default:                  default:
                         break;                          break;

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150

CVSweb