diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/ephy-history.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org> + * embed/ephy-history.c: (ephy_history_host_set_title): + + Dont crash when url is NULL + +2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org> + * data/ui/epiphany-ui.xml.in: * lib/egg/egg-menu-merge.c: (do_updates): * src/ephy-spinner-action.c: (create_tool_item): diff --git a/embed/ephy-history.c b/embed/ephy-history.c index f818ceb21..c1f7e2aa4 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -481,7 +481,8 @@ ephy_history_host_set_title (EphyHistory *eh, host_url = ephy_node_get_property_string (host, EPHY_NODE_PAGE_PROP_LOCATION); - if (strcmp (real_url, host_url) == 0) + if (real_url && host_url && + strcmp (real_url, host_url) == 0) { g_value_init (&value, G_TYPE_STRING); |