summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-08-30 09:43:13 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-08-30 09:43:13 +0100
commitc2ac1a713f7e47742ac6001991888f767d15d93f (patch)
treeaea10dc291a7af339f251b27cf9bb6828cd2fc3d /content
parent1670dc33afca32e0c1cc7d5ddcf508e9ca1619b2 (diff)
downloadnetsurf-c2ac1a713f7e47742ac6001991888f767d15d93f.tar.gz
netsurf-c2ac1a713f7e47742ac6001991888f767d15d93f.tar.bz2
Errorcodes: Add SPRITE_ERROR and use it in sprite content handler.
Diffstat (limited to 'content')
-rw-r--r--content/handlers/image/nssprite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/image/nssprite.c b/content/handlers/image/nssprite.c
index f149350fd..c9fe1b585 100644
--- a/content/handlers/image/nssprite.c
+++ b/content/handlers/image/nssprite.c
@@ -165,7 +165,7 @@ ro_sprite_error:
if (ctx != NULL) {
rosprite_destroy_mem_context(ctx);
}
- content_broadcast_errorcode(c, NSERROR_UNKNOWN);
+ content_broadcast_errorcode(c, NSERROR_SPRITE_ERROR);
return false;
}