version 1.43, 2009/09/21 13:06:13 |
version 1.44, 2009/09/21 13:42:01 |
|
|
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); |
} |
} |