aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index eef91061b..608a9a047 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -303,7 +303,7 @@ load_changed_cb (WebKitWebView *web_view,
const char *uri;
uri = webkit_web_view_get_uri (web_view);
- ephy_embed_set_overview_mode (embed, uri && strcmp (uri, "ephy-about:overview") == 0);
+ ephy_embed_set_overview_mode (embed, g_strcmp0 (uri, "ephy-about:overview") == 0);
break;
}
case WEBKIT_LOAD_COMMITTED: