summaryrefslogtreecommitdiff
path: root/frontends/amiga/history_local.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/history_local.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/history_local.c')
-rw-r--r--frontends/amiga/history_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/history_local.c b/frontends/amiga/history_local.c
index 95f422daa..f8a881693 100644
--- a/frontends/amiga/history_local.c
+++ b/frontends/amiga/history_local.c
@@ -209,7 +209,7 @@ ami_history_local_create_window(struct ami_history_local_window *history_local_w
WA_SizeBRight, TRUE,
WA_Width, 100,
WA_Height, 100,
- WA_PubScreen, scrn,
+ WA_PubScreen, ami_gui_get_screen(),
WA_ReportMouse, TRUE,
refresh_mode, TRUE,
WA_IDCMP, IDCMP_MOUSEMOVE | IDCMP_MOUSEBUTTONS | IDCMP_NEWSIZE |