diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-08-28 12:04:23 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-08-28 12:04:23 +0100 |
commit | 2ad990f3d54dabbd1ea9233119d81ce8a97fa215 (patch) | |
tree | b5294756cb2c9d2f7dbb815ef9fc9c64cdd1ea47 /render | |
parent | 4a014fecde6a4f38c99b820297df65da4555137c (diff) | |
download | netsurf-2ad990f3d54dabbd1ea9233119d81ce8a97fa215.tar.gz netsurf-2ad990f3d54dabbd1ea9233119d81ce8a97fa215.tar.bz2 |
HTML object hlcache callback: Errorcode without box is OK.
Diffstat (limited to 'render')
-rw-r--r-- | render/html_object.c | 4 |
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; } |