diff options
Diffstat (limited to 'cocoa/gui.m')
-rw-r--r-- | cocoa/gui.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m index 9ba614475..1cb19a756 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -253,9 +253,10 @@ static void gui_create_form_select_menu(struct browser_window *bw, [menu release]; } -static void gui_launch_url(const char *url) +static nserror gui_launch_url(nsurl *url) { - [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: [NSString stringWithUTF8String: url]]]; + [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: [NSString stringWithUTF8String: nsurl_access(url)]]]; + return NSERROR_OK; } struct ssl_cert_info; |