Ensure we only update the favicon rendering when the icon being updated is the one in the active tab.

svn path=/trunk/netsurf/; revision=11244
This commit is contained in:
Daniel Silverstone 2011-01-07 13:20:47 +00:00
parent 234301ad23
commit 29321bf3bd

View File

@ -1837,6 +1837,8 @@ void gui_window_set_icon(struct gui_window *_g, hlcache_handle *icon)
if (icon == NULL)
return;
if (g->top_level != _g)
return;
#ifdef WITH_BMP
if (content_get_type(icon) == CONTENT_ICO)