diff options
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 822d640d0..e1332a02c 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 ? cur_gw->shared->win : NULL, + TDR_Window, cur_gw ? ami_gui_get_gui_window_2(cur_gw)->win : 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 ? cur_gw->shared->win : NULL, &easyreq, NULL); + ret = EasyRequest(cur_gw ? ami_gui_get_gui_window_2(cur_gw)->win : NULL, &easyreq, NULL); #endif return ret; } |