Check if _midori_web_view_load_icon actually has a URI
A blank page wouldn't have one.
This commit is contained in:
parent
9ca1271020
commit
1bedc8a76c
1 changed files with 1 additions and 1 deletions
|
@ -866,7 +866,7 @@ _midori_web_view_load_icon (MidoriView* view)
|
||||||
icon_uri = g_strdup (view->icon_uri);
|
icon_uri = g_strdup (view->icon_uri);
|
||||||
|
|
||||||
if ((icon_uri && g_str_has_prefix (icon_uri, "http"))
|
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)
|
if (!icon_uri)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue