mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Don't need to url_normalise, since the core is nsurl based.
svn path=/trunk/netsurf/; revision=12965
This commit is contained in:
parent
d52f40b575
commit
22a34841f7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user