mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
[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:
parent
a4c93bf500
commit
c48e0ce8dc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user