mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 08:39:50 +03:00
Fix amiga/file.c for new structs
This commit is contained in:
parent
bab178d3c1
commit
223da14e72
@ -98,7 +98,7 @@ void ami_file_open(struct gui_window_2 *gwin)
|
||||
if (netsurf_path_to_nsurl(temp, &url) != NSERROR_OK) {
|
||||
warn_user("NoMemory", 0);
|
||||
} else {
|
||||
browser_window_navigate(gwin->bw,
|
||||
browser_window_navigate(gwin->gw->bw,
|
||||
url,
|
||||
NULL,
|
||||
BW_NAVIGATE_HISTORY,
|
||||
@ -235,7 +235,7 @@ void ami_file_save_req(int type, struct gui_window_2 *gwin,
|
||||
strlcpy(fname, savereq->fr_Drawer, 1024);
|
||||
AddPart(fname, savereq->fr_File, 1024);
|
||||
|
||||
ami_file_save(type, fname, gwin->win, object, gwin->bw->window->favicon, gwin->bw);
|
||||
ami_file_save(type, fname, gwin->win, object, gwin->gw->favicon, gwin->gw->bw);
|
||||
}
|
||||
|
||||
if(fname) FreeVec(fname);
|
||||
|
Loading…
Reference in New Issue
Block a user