summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui_menu.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 21:58:09 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-07 21:58:09 +0100
commit6d1f480f011a2de630ebe99e68effc725f179ed1 (patch)
treef43f32ff19a044cc75f16becd36b8c8a3ba9ec84 /frontends/amiga/gui_menu.c
parent5c7b5476f0739e5f62071800830b7600a64a3dd5 (diff)
downloadnetsurf-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/gui_menu.c')
-rw-r--r--frontends/amiga/gui_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui_menu.c b/frontends/amiga/gui_menu.c
index fd8e1b8fa..1bb0ee8f4 100644
--- a/frontends/amiga/gui_menu.c
+++ b/frontends/amiga/gui_menu.c
@@ -711,7 +711,7 @@ void ami_gui_menu_update_checked(struct gui_window_2 *gwin)
void ami_gui_menu_update_disabled(struct gui_window *g, struct hlcache_handle *c)
{
- struct Window *win = ami_gui_get_gui_window_2(g)->win;
+ struct Window *win = ami_gui_get_window(g);
if(nsoption_bool(kiosk_mode) == true) return;