diff options
Diffstat (limited to 'cocoa/BrowserViewController.m')
-rw-r--r-- | cocoa/BrowserViewController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/BrowserViewController.m b/cocoa/BrowserViewController.m index a1b18605c..b188dccf0 100644 --- a/cocoa/BrowserViewController.m +++ b/cocoa/BrowserViewController.m @@ -145,10 +145,10 @@ /* try to load local files directly. */ char *scheme; - if (url_scheme(content_get_url(content), &scheme) != URL_FUNC_OK) + if (url_scheme(nsurl_access(content_get_url(content)), &scheme) != URL_FUNC_OK) return; if (strcmp(scheme, "file") == 0) - path = url_to_path(content_get_url(content)); + path = url_to_path(nsurl_access(content_get_url(content))); free(scheme); if (path == NULL) { |