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

Diff for /mandoc/html.c between version 1.43 and 1.44

version 1.43, 2009/09/21 13:06:13 version 1.44, 2009/09/21 13:42:01
Line 406  void *
Line 406  void *
 html_alloc(char *outopts)  html_alloc(char *outopts)
 {  {
         struct html     *h;          struct html     *h;
         char            *toks[3], *o, *v;          char            *toks[3], *v;
   
         toks[0] = "style";          toks[0] = "style";
         toks[1] = "base";          toks[1] = "base";
Line 423  html_alloc(char *outopts)
Line 423  html_alloc(char *outopts)
                 return(NULL);                  return(NULL);
         }          }
   
         while (*outopts) {          while (*outopts)
                 o = outopts;  
                 switch (getsubopt(&outopts, toks, &v)) {                  switch (getsubopt(&outopts, toks, &v)) {
                 case (0):                  case (0):
                         h->style = v;                          h->style = v;
Line 435  html_alloc(char *outopts)
Line 434  html_alloc(char *outopts)
                 default:                  default:
                         break;                          break;
                 }                  }
         }  
   
         return(h);          return(h);
 }  }

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

CVSweb