[Xfce4-commits] <midori:master> Do NULL-safe address comparison when loading the session
Christian Dywan
noreply at xfce.org
Sun Aug 1 17:14:05 CEST 2010
Updating branch refs/heads/master
to 60eca91b74449e511041432ddfcd0268bab6bc6f (commit)
from 5b640c7f46ce454c71011e3f123478933cb42c98 (commit)
commit 60eca91b74449e511041432ddfcd0268bab6bc6f
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jul 31 01:29:57 2010 +0200
Do NULL-safe address comparison when loading the session
midori/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index fd5ec98..35ac8c7 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1259,7 +1259,7 @@ midori_load_session (gpointer data)
midori_browser_set_current_page (browser, current);
if (!(item = katze_array_get_nth_item (_session, current)))
item = katze_array_get_nth_item (_session, 0);
- if (!strcmp (katze_item_get_uri (item), ""))
+ if (!g_strcmp0 (katze_item_get_uri (item), ""))
midori_browser_activate_action (browser, "Location");
g_object_unref (settings);
More information about the Xfce4-commits
mailing list