diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 21:58:09 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-07 21:58:09 +0100 |
commit | 6d1f480f011a2de630ebe99e68effc725f179ed1 (patch) | |
tree | f43f32ff19a044cc75f16becd36b8c8a3ba9ec84 /frontends/amiga/misc.c | |
parent | 5c7b5476f0739e5f62071800830b7600a64a3dd5 (diff) | |
download | netsurf-6d1f480f011a2de630ebe99e68effc725f179ed1.tar.gz netsurf-6d1f480f011a2de630ebe99e68effc725f179ed1.tar.bz2 |
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
Diffstat (limited to 'frontends/amiga/misc.c')
-rwxr-xr-x | frontends/amiga/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |