diff options
Diffstat (limited to 'amiga/file.c')
-rw-r--r-- | amiga/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/file.c b/amiga/file.c index 74ad7a4e4..c49f14c20 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -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); |