From c5a07fac76313c2d2d6348dee20d881a639c40c8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 10 May 2019 20:32:40 +0100 Subject: Replace global current gui_window with an accessor function --- frontends/amiga/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'frontends/amiga/misc.c') diff --git a/frontends/amiga/misc.c b/frontends/amiga/misc.c index 9bd8bfe60..63add6413 100755 --- a/frontends/amiga/misc.c +++ b/frontends/amiga/misc.c @@ -45,6 +45,7 @@ static LONG ami_misc_req(const char *message, uint32 type) { LONG ret = 0; + struct gui_window *cur_gw = ami_gui_get_active_gw(); NSLOG(netsurf, INFO, "%s", message); #ifdef __amigaos4__ -- cgit v1.2.3