mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
save complete: ctx_find_content: compare contents, not hlcache_handles
There can be multiple hlcache_handles per sharable content.
This commit is contained in:
parent
6e7f98787a
commit
044ddd5d43
@ -147,7 +147,8 @@ save_complete_ctx_has_content(save_complete_ctx *ctx,
|
||||
save_complete_entry *entry;
|
||||
|
||||
for (entry = ctx->list; entry != NULL; entry = entry->next) {
|
||||
if (entry->content == content)
|
||||
if (hlcache_handle_get_content(entry->content) ==
|
||||
hlcache_handle_get_content(content))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user