[project @ 2004-06-12 20:08:47 by joty]
html_find_stylesheets() : returns void, not bool. svn path=/import/netsurf/; revision=968
This commit is contained in:
parent
0ebbc1330c
commit
3ccc79bc81
|
@ -414,12 +414,12 @@ void html_find_stylesheets(struct content *c, xmlNode *head)
|
||||||
content_create(c->data.html.
|
content_create(c->data.html.
|
||||||
base_url);
|
base_url);
|
||||||
if (!c->data.html.stylesheet_content[1])
|
if (!c->data.html.stylesheet_content[1])
|
||||||
return false;
|
return;
|
||||||
if (!content_set_type(c->data.html.
|
if (!content_set_type(c->data.html.
|
||||||
stylesheet_content[1],
|
stylesheet_content[1],
|
||||||
CONTENT_CSS, "text/css",
|
CONTENT_CSS, "text/css",
|
||||||
params))
|
params))
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* can't just use xmlNodeGetContent(node), because that won't give
|
/* can't just use xmlNodeGetContent(node), because that won't give
|
||||||
|
@ -430,7 +430,7 @@ void html_find_stylesheets(struct content *c, xmlNode *head)
|
||||||
stylesheet_content[1],
|
stylesheet_content[1],
|
||||||
data, strlen(data))) {
|
data, strlen(data))) {
|
||||||
xmlFree(data);
|
xmlFree(data);
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
xmlFree(data);
|
xmlFree(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue