diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-08-28 12:06:09 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-08-28 12:06:09 +0100 |
commit | c0205478c076a3e118b52602c41adae1658076db (patch) | |
tree | 03ccb231ee78da543a7ed2c1f6a3be3074cf9864 /render | |
parent | 2ad990f3d54dabbd1ea9233119d81ce8a97fa215 (diff) | |
download | netsurf-c0205478c076a3e118b52602c41adae1658076db.tar.gz netsurf-c0205478c076a3e118b52602c41adae1658076db.tar.bz2 |
HTML object hlcache callback: Ensure final fetch completion triggers reformat.
Even if the final fetch finished with ERRORCODE.
Diffstat (limited to 'render')
-rw-r--r-- | render/html_object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_object.c b/render/html_object.c index 0daf33db9..c86c57520 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -440,7 +440,8 @@ html_object_callback(hlcache_handle *object, c->base.active == 0 && (event->type == CONTENT_MSG_LOADING || event->type == CONTENT_MSG_DONE || - event->type == CONTENT_MSG_ERROR)) { + event->type == CONTENT_MSG_ERROR || + event->type == CONTENT_MSG_ERRORCODE)) { /* all objects have arrived */ content__reformat(&c->base, false, c->base.available_width, c->base.height); |