diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-05-27 00:15:34 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-27 00:15:34 +0100 |
commit | 1966649c83615a16db678418947147d6f08cc749 (patch) | |
tree | 144f4e7ac46d3e5c9e640ce17f59900040f02d9c | |
parent | 688f60d9636941c4aeb5959bf15bcee743af0fe6 (diff) | |
download | netsurf-1966649c83615a16db678418947147d6f08cc749.tar.gz netsurf-1966649c83615a16db678418947147d6f08cc749.tar.bz2 |
fix amiga build to use correct nsurl acessor function
-rw-r--r-- | amiga/file.c | 1 | ||||
-rw-r--r-- | amiga/gui.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/amiga/file.c b/amiga/file.c index 24c1fd902..b73dd1676 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -31,6 +31,7 @@ #include "desktop/browser_private.h" #include "utils/nsoption.h" +#include "utils/file.h" #include "desktop/save_complete.h" #include "desktop/save_pdf/pdf_plotters.h" #include "desktop/save_text.h" diff --git a/amiga/gui.c b/amiga/gui.c index b7edf5e1e..19064f938 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -915,7 +915,7 @@ static void gui_init2(int argc, char** argv) if(!temp_homepage_url) { nsurl *temp_url; if (netsurf_path_to_nsurl(fullpath, &temp_url) == NSERROR_OK) { - temp_homepage_url = strdup(nsurl_data(temp_url)); + temp_homepage_url = strdup(nsurl_access(temp_url)); nsurl_unref(temp_url); } } |