Don't need to url_normalise, since the core is nsurl based.

svn path=/trunk/netsurf/; revision=12965
This commit is contained in:
Michael Drake 2011-10-06 10:07:33 +00:00
parent d52f40b575
commit 22a34841f7

View File

@ -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;