mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 09:42:38 +03:00
fix amiga build to use correct nsurl acessor function
This commit is contained in:
parent
688f60d963
commit
1966649c83
@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
#include "desktop/browser_private.h"
|
#include "desktop/browser_private.h"
|
||||||
#include "utils/nsoption.h"
|
#include "utils/nsoption.h"
|
||||||
|
#include "utils/file.h"
|
||||||
#include "desktop/save_complete.h"
|
#include "desktop/save_complete.h"
|
||||||
#include "desktop/save_pdf/pdf_plotters.h"
|
#include "desktop/save_pdf/pdf_plotters.h"
|
||||||
#include "desktop/save_text.h"
|
#include "desktop/save_text.h"
|
||||||
|
@ -915,7 +915,7 @@ static void gui_init2(int argc, char** argv)
|
|||||||
if(!temp_homepage_url) {
|
if(!temp_homepage_url) {
|
||||||
nsurl *temp_url;
|
nsurl *temp_url;
|
||||||
if (netsurf_path_to_nsurl(fullpath, &temp_url) == NSERROR_OK) {
|
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);
|
nsurl_unref(temp_url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user