[project @ 2003-09-28 17:37:19 by bursa]

Fix redirected images which are already loaded.

svn path=/import/netsurf/; revision=328
This commit is contained in:
James Bursa 2003-09-28 17:37:19 +00:00
parent a4c93bf500
commit c48e0ce8dc

View File

@ -465,9 +465,12 @@ void html_object_callback(content_msg msg, struct content *object,
c->data.html.object[i].content = fetchcache(
error, c->url, html_object_callback,
c, i, 0, 0, true);
if (c->data.html.object[i].content &&
c->data.html.object[i].content->status != CONTENT_STATUS_DONE)
if (c->data.html.object[i].content) {
c->active++;
if (c->data.html.object[i].content->status == CONTENT_STATUS_DONE)
html_object_callback(CONTENT_MSG_DONE,
c->data.html.object[i].content, c, i, 0);
}
break;
case CONTENT_MSG_REFORMAT: