fix amiga build to use correct nsurl acessor function

This commit is contained in:
Vincent Sanders 2014-05-27 00:15:34 +01:00
parent 688f60d963
commit 1966649c83
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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);
}
}