From 97010ecef521de524846734e093db89a18f81f62 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 10 May 2019 20:59:30 +0100 Subject: Make screen pointer accesible through an accessor function only --- frontends/amiga/history_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/amiga/history_local.c') 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 | -- cgit v1.2.1