summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-08-28 12:04:23 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-08-28 12:04:23 +0100
commit2ad990f3d54dabbd1ea9233119d81ce8a97fa215 (patch)
treeb5294756cb2c9d2f7dbb815ef9fc9c64cdd1ea47
parent4a014fecde6a4f38c99b820297df65da4555137c (diff)
downloadnetsurf-2ad990f3d54dabbd1ea9233119d81ce8a97fa215.tar.gz
netsurf-2ad990f3d54dabbd1ea9233119d81ce8a97fa215.tar.bz2
HTML object hlcache callback: Errorcode without box is OK.
-rw-r--r--render/html_object.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/html_object.c b/render/html_object.c
index f304e91ac..0daf33db9 100644
--- a/render/html_object.c
+++ b/render/html_object.c
@@ -125,7 +125,9 @@ html_object_callback(hlcache_handle *object,
struct box *box;
box = o->box;
- if (box == NULL && event->type != CONTENT_MSG_ERROR) {
+ if (box == NULL &&
+ event->type != CONTENT_MSG_ERROR &&
+ event->type != CONTENT_MSG_ERRORCODE) {
return NSERROR_OK;
}