From 6239b32d92069595da0ba788311a3f9e4e71e690 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 9 Jul 2016 23:55:16 +0100 Subject: Make browserglob private to gui.c --- frontends/amiga/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/amiga/tree.c') diff --git a/frontends/amiga/tree.c b/frontends/amiga/tree.c index f02fdcdbb..8328194ac 100644 --- a/frontends/amiga/tree.c +++ b/frontends/amiga/tree.c @@ -262,7 +262,7 @@ static void ami_tree_redraw_req_dr(void *p) ami_update_pointer(twin->win, GUI_POINTER_DEFAULT); ami_clearclipreg(glob); glob->rp = temprp; - glob = &browserglob; + ami_gui_set_default_gg(); } static void ami_tree_redraw_req(void *p) @@ -345,7 +345,7 @@ static void ami_tree_redraw_req(void *p) ami_gui_free_space_box(bbox); ami_update_pointer(twin->win, GUI_POINTER_DEFAULT); ami_clearclipreg(glob); - glob = &browserglob; + ami_gui_set_default_gg(); } static void ami_tree_redraw_request(int x, int y, int width, int height, void *data) -- cgit v1.2.3