diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-29 10:29:48 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-29 10:29:48 +0100 |
commit | b2e8c0d54ff9774585416fbea7c5c0b66909c535 (patch) | |
tree | f4ee39e34121189fe1a02ec0bb94c7f9e63bf30d /image/png.c | |
parent | 7b28db62498e5b71c490000535c7e088605c0141 (diff) | |
download | netsurf-b2e8c0d54ff9774585416fbea7c5c0b66909c535.tar.gz netsurf-b2e8c0d54ff9774585416fbea7c5c0b66909c535.tar.bz2 |
stop teh png image content handler directly reporting errors to users
Diffstat (limited to 'image/png.c')
-rw-r--r-- | image/png.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/image/png.c b/image/png.c index 1c78d3006..11903cbd3 100644 --- a/image/png.c +++ b/image/png.c @@ -246,7 +246,6 @@ static nserror nspng_create_png_data(nspng_content *png_c) if (png_c->png == NULL) { msg_data.error = messages_get("NoMemory"); content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data); - warn_user("NoMemory", 0); return NSERROR_NOMEM; } @@ -258,7 +257,6 @@ static nserror nspng_create_png_data(nspng_content *png_c) msg_data.error = messages_get("NoMemory"); content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data); - warn_user("NoMemory", 0); return NSERROR_NOMEM; } |