From 22a34841f71c4a6ce27cb84010b1e0231f89ac31 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 6 Oct 2011 10:07:33 +0000 Subject: Don't need to url_normalise, since the core is nsurl based. svn path=/trunk/netsurf/; revision=12965 --- riscos/dialog.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'riscos') diff --git a/riscos/dialog.c b/riscos/dialog.c index 611b7efc2..96746329e 100644 --- a/riscos/dialog.c +++ b/riscos/dialog.c @@ -706,13 +706,12 @@ void ro_gui_dialog_update_zoom(struct gui_window *g) { bool ro_gui_dialog_openurl_apply(wimp_w w) { - url_func_result res; const char *url; char *url2; url = ro_gui_get_icon_string(w, ICON_OPENURL_URL); - res = url_normalize(url, &url2); - if (res == URL_FUNC_OK) { + url2 = strdup(url); + if (url2 != NULL) { browser_window_create(url2, 0, 0, true, false); free(url2); return true; -- cgit v1.2.3