From 22f2ffeeeaf1c0f35306a969b8c99be50887edc3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 6 Oct 2011 10:16:11 +0000 Subject: Don't need to url_normalise, since the core is nsurl based. svn path=/trunk/netsurf/; revision=12966 --- riscos/window.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'riscos') diff --git a/riscos/window.c b/riscos/window.c index 73ffe98b0..df7dc3192 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3766,15 +3766,15 @@ void ro_gui_window_prepare_objectinfo(hlcache_handle *object, const char *href) void ro_gui_window_launch_url(struct gui_window *g, const char *url) { - url_func_result res; - char *url_norm; + char *url2; ro_gui_url_complete_close(); - res = url_normalize(url, &url_norm); - if (res == URL_FUNC_OK) { - gui_window_set_url(g, url_norm); - browser_window_go(g->bw, url_norm, 0, true); - free(url_norm); + + url2 = strdup(url); + if (url2 != NULL) { + gui_window_set_url(g, url2); + browser_window_go(g->bw, url2, 0, true); + free(url2); } } -- cgit v1.2.3