rendered paste bodyIndex: ephy-bookmarks.c===================================================================RCS file: /cvs/gnome/epiphany/src/bookmarks/ephy-bookmarks.c,vretrieving revision 1.113diff -u -p -r1.113 ephy-bookmarks.c--- ephy-bookmarks.c 26 Jul 2005 17:41:02 -0000 1.113+++ ephy-bookmarks.c 15 Sep 2005 12:31:30 -0000@@ -1343,8 +1343,25 @@ impl_resolve_address (EphyBookmarks *eb, if (address == NULL) return NULL; + /* The entered search term is empty "" */+ if (content == NULL || content[0] == '\0')+ {+ GnomeVFSURI *uri = gnome_vfs_uri_new (address);+ if (uri != NULL)+ {+ gchar *real_address = g_strconcat (+ gnome_vfs_uri_get_scheme (uri),+ "://",+ gnome_vfs_uri_get_host_name (uri),+ NULL);+ gnome_vfs_uri_unref (uri);+ + return real_address;+ }+ }+ + /* Either there was a search term, or gnome-vfs URI had a problem */ if (content == NULL) content = "";- result = g_string_new_len (NULL, strlen (content) + strlen (address)); /* substitute %s's */