summaryrefslogtreecommitdiff
path: root/frontends/amiga/file.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
commit97010ecef521de524846734e093db89a18f81f62 (patch)
tree03e7f949b32cd4d4c8e643278477b4a6ac63c84c /frontends/amiga/file.c
parentc5a07fac76313c2d2d6348dee20d881a639c40c8 (diff)
downloadnetsurf-97010ecef521de524846734e093db89a18f81f62.tar.gz
netsurf-97010ecef521de524846734e093db89a18f81f62.tar.bz2
Make screen pointer accesible through an accessor function only
Diffstat (limited to 'frontends/amiga/file.c')
-rw-r--r--frontends/amiga/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/file.c b/frontends/amiga/file.c
index 1d74d6ff8..67866aa48 100644
--- a/frontends/amiga/file.c
+++ b/frontends/amiga/file.c
@@ -86,7 +86,7 @@ void ami_file_open(struct gui_window_2 *gwin)
ASLFR_TitleText, messages_get("NetSurf"),
ASLFR_Window, ami_gui2_get_window(gwin),
ASLFR_SleepWindow, TRUE,
- ASLFR_Screen, scrn,
+ ASLFR_Screen, ami_gui_get_screen(),
ASLFR_DoSaveMode, FALSE,
ASLFR_RejectIcons, TRUE,
ASLFR_FilterFunc, &aslhookfunc,
@@ -260,7 +260,7 @@ void ami_file_save_req(int type, struct gui_window_2 *gwin,
ASLFR_Window, ami_gui2_get_window(gwin),
ASLFR_SleepWindow, TRUE,
ASLFR_TitleText, messages_get("NetSurf"),
- ASLFR_Screen, scrn,
+ ASLFR_Screen, ami_gui_get_screen(),
ASLFR_InitialFile, fname_with_ext ? fname_with_ext : "",
TAG_DONE))
{