diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 16:49:55 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 16:49:55 +0000 |
commit | 817841eab3a59286908e3447b3cf99423e8d5540 (patch) | |
tree | dba8c1efb3bc7a0c482db0deffe73661e73a4571 /cocoa/BrowserViewController.m | |
parent | 7dc000e64356c58246d46253d072180bc2845ad7 (diff) | |
download | netsurf-817841eab3a59286908e3447b3cf99423e8d5540.tar.gz netsurf-817841eab3a59286908e3447b3cf99423e8d5540.tar.bz2 |
Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12930
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) { |