summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c7
1 files changed, 4 insertions, 3 deletions
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;
}