summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-07-07 22:10:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-07-07 22:10:51 +0000
commit133c3ee759bdc27f661390633064d7554027fbcb (patch)
tree5490bd5ef69499dc8d91f1e9c0252196ae0be8c6 /render/html.c
parent1abf8018a907cd95af01dfe0196786928988a653 (diff)
downloadnetsurf-133c3ee759bdc27f661390633064d7554027fbcb.tar.gz
netsurf-133c3ee759bdc27f661390633064d7554027fbcb.tar.bz2
[project @ 2003-07-07 22:10:51 by jmb]
Rewrite plugin system backend. svn path=/import/netsurf/; revision=210
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/html.c b/render/html.c
index a079cac78..60d218121 100644
--- a/render/html.c
+++ b/render/html.c
@@ -176,7 +176,7 @@ void html_convert_css_callback(content_msg msg, struct content *css,
c, i, css->width, css->height);
if (c->data.html.stylesheet_content[i]->status != CONTENT_STATUS_DONE)
c->active++;
- break;
+ break;
default:
assert(0);
@@ -305,7 +305,7 @@ void html_find_stylesheets(struct content *c, xmlNode *head)
LOG(("style element"));
if (c->data.html.stylesheet_content[1] == 0) {
c->data.html.stylesheet_content[1] = content_create(c->url);
- content_set_type(c->data.html.stylesheet_content[1], CONTENT_CSS);
+ content_set_type(c->data.html.stylesheet_content[1], CONTENT_CSS, "text/css");
}
/* can't just use xmlNodeGetContent(node), because that won't give
@@ -450,7 +450,7 @@ void html_object_callback(content_msg msg, struct content *object,
c, i, 0, 0);
if (c->data.html.object[i].content->status != CONTENT_STATUS_DONE)
c->active++;
- break;
+ break;
default:
assert(0);