summaryrefslogtreecommitdiff
path: root/content/handlers/image
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-08-29 11:57:34 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-08-29 11:57:34 +0100
commit1670dc33afca32e0c1cc7d5ddcf508e9ca1619b2 (patch)
tree53eab7ca50ac5e58961b9662f26c9c07a3981862 /content/handlers/image
parenta9d18a8efd2ec114b1c08fc551a1347fd5befced (diff)
downloadnetsurf-1670dc33afca32e0c1cc7d5ddcf508e9ca1619b2.tar.gz
netsurf-1670dc33afca32e0c1cc7d5ddcf508e9ca1619b2.tar.bz2
Sprite content handler: Ensure we broadcast error on librosprite error.
Diffstat (limited to 'content/handlers/image')
-rw-r--r--content/handlers/image/nssprite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/image/nssprite.c b/content/handlers/image/nssprite.c
index 651714744..f149350fd 100644
--- a/content/handlers/image/nssprite.c
+++ b/content/handlers/image/nssprite.c
@@ -165,6 +165,7 @@ ro_sprite_error:
if (ctx != NULL) {
rosprite_destroy_mem_context(ctx);
}
+ content_broadcast_errorcode(c, NSERROR_UNKNOWN);
return false;
}