summaryrefslogtreecommitdiff
path: root/content/handlers/html/html_css.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/html_css.c')
-rw-r--r--content/handlers/html/html_css.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c
index 70ed83f3d..9d7cc7132 100644
--- a/content/handlers/html/html_css.c
+++ b/content/handlers/html/html_css.c
@@ -116,10 +116,8 @@ html_convert_css_callback(hlcache_handle *css,
case CONTENT_MSG_ERROR:
NSLOG(netsurf, INFO, "stylesheet %s failed: %s",
nsurl_access(hlcache_handle_get_url(css)),
- event->data.error);
- /* fall through */
+ event->data.errordata.errormsg);
- case CONTENT_MSG_ERRORCODE:
hlcache_handle_release(css);
s->sheet = NULL;
parent->base.active--;