diff options
Diffstat (limited to 'css/css.c')
-rw-r--r-- | css/css.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -302,7 +302,6 @@ bool nscss_convert(struct content *c) if (error != CSS_OK) { msg_data.error = "?"; content_broadcast(c, CONTENT_MSG_ERROR, msg_data); - c->status = CONTENT_STATUS_ERROR; return false; } @@ -508,7 +507,7 @@ void nscss_content_done(struct content_css_data *css, void *pw) if (error != CSS_OK) { msg_data.error = "?"; content_broadcast(c, CONTENT_MSG_ERROR, msg_data); - c->status = CONTENT_STATUS_ERROR; + content_set_error(c); return; } c->size += size; |