Check if _midori_web_view_load_icon actually has a URI

A blank page wouldn't have one.
This commit is contained in:
Christian Dywan 2011-03-12 21:07:37 +01:00
parent 9ca1271020
commit 1bedc8a76c

View file

@ -866,7 +866,7 @@ _midori_web_view_load_icon (MidoriView* view)
icon_uri = g_strdup (view->icon_uri);
if ((icon_uri && g_str_has_prefix (icon_uri, "http"))
|| g_str_has_prefix (view->uri, "http"))
|| (view->uri && g_str_has_prefix (view->uri, "http")))
{
if (!icon_uri)
{