diff options
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/riscos/window.c b/riscos/window.c index 236f1651a..7e3fee848 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3978,14 +3978,12 @@ void ro_gui_window_action_new_window(struct gui_window *g) { nserror error; - if (g == NULL || g->bw == NULL || g->bw->current_content == NULL) + if (g == NULL || g->bw == NULL) return; error = browser_window_create(BW_CREATE_CLONE, - hlcache_handle_get_url(g->bw->current_content), - NULL, - g->bw, - NULL); + browser_window_get_url(g->bw), + NULL, g->bw, NULL); if (error != NSERROR_OK) { warn_user(messages_get_errorcode(error), 0); |