From 7d02ae916a9984efb619eac279b4d8e12db0b678 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 27 May 2014 23:52:35 +0100 Subject: make launch_url core operation use nsurl --- riscos/gui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'riscos') diff --git a/riscos/gui.c b/riscos/gui.c index 82a1a74a1..f3d1f323a 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -2214,10 +2214,11 @@ void ro_gui_dump_browser_window(struct browser_window *bw) * Broadcast an URL that we can't handle. */ -static void gui_launch_url(const char *url) +static nserror gui_launch_url(struct nsurl *url) { - /* Try ant broadcast first */ - ro_url_broadcast(url); + /* Try ant broadcast */ + ro_url_broadcast(nsurl_access(url)); + return NSERROR_OK; } -- cgit v1.2.3