diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 00:08:35 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-08 00:08:35 +0100 |
commit | ca1a519cfad66978c18181b4a544b485f69aee90 (patch) | |
tree | 5da545d0978238de773a41c58a989d73474219fd /frontends/amiga/arexx.c | |
parent | b9dd0a60c300b0de6b117500f67b6724b520652c (diff) | |
download | netsurf-ca1a519cfad66978c18181b4a544b485f69aee90.tar.gz netsurf-ca1a519cfad66978c18181b4a544b485f69aee90.tar.bz2 |
remove direct access to gui_window_2's gui_window
Diffstat (limited to 'frontends/amiga/arexx.c')
-rw-r--r-- | frontends/amiga/arexx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/arexx.c b/frontends/amiga/arexx.c index b2e2ac89e..6d1bdf12b 100644 --- a/frontends/amiga/arexx.c +++ b/frontends/amiga/arexx.c @@ -191,7 +191,7 @@ static struct gui_window *ami_find_tab_gwin(struct gui_window_2 *gwin, int tab) struct Node *ntab; struct gui_window *gw; - if((tab == 0) || (gwin->tabs == 0)) return gwin->gw; + if((tab == 0) || (gwin->tabs == 0)) return ami_gui2_get_gui_window(gwin); ctab = GetHead(&gwin->tab_list); @@ -625,7 +625,7 @@ RXHOOKF(rx_active) if(node->Type == AMINS_WINDOW) { windows++; - if(gwin->gw == gw) + if(IS_CURRENT_GW(gwin,gw)) { window = windows; break; |