From 6d1f480f011a2de630ebe99e68effc725f179ed1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 7 May 2019 21:58:09 +0100 Subject: Get the shared window's window structure directly from the gui_window In a lot of places gui_window_2 was only being accessed for Window --- frontends/amiga/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/amiga/misc.c') diff --git a/frontends/amiga/misc.c b/frontends/amiga/misc.c index e1332a02c..9bd8bfe60 100755 --- a/frontends/amiga/misc.c +++ b/frontends/amiga/misc.c @@ -53,7 +53,7 @@ static LONG ami_misc_req(const char *message, uint32 type) TDR_FormatString, message, TDR_GadgetString, messages_get("OK"), TDR_ImageType, type, - TDR_Window, cur_gw ? ami_gui_get_gui_window_2(cur_gw)->win : NULL, + TDR_Window, cur_gw ? ami_gui_get_window(cur_gw) : NULL, TAG_DONE); #else struct EasyStruct easyreq = { @@ -64,7 +64,7 @@ static LONG ami_misc_req(const char *message, uint32 type) messages_get("OK"), }; - ret = EasyRequest(cur_gw ? ami_gui_get_gui_window_2(cur_gw)->win : NULL, &easyreq, NULL); + ret = EasyRequest(cur_gw ? ami_gui_get_window(cur_gw) : NULL, &easyreq, NULL); #endif return ret; } -- cgit v1.2.3