From 20705189b9bb5e034544800dba8e16517a7d8ba3 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 16 Nov 2014 16:31:35 +0000 Subject: Make win_destroyed variable private to amiga/gui.c --- amiga/gui.c | 32 ++++++++++++++++---------------- amiga/gui.h | 1 - amiga/tree.c | 1 - 3 files changed, 16 insertions(+), 18 deletions(-) (limited to 'amiga') diff --git a/amiga/gui.c b/amiga/gui.c index f062cb916..680b83624 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -167,22 +167,22 @@ struct ami_gui_tb_userdata { int items; }; -struct MsgPort *appport; -Class *urlStringClass; - -BOOL locked_screen = FALSE; -BOOL screen_closed = FALSE; -int screen_signal = -1; -ULONG sz_gad_width = 0; -ULONG sz_gad_height = 0; - -struct MsgPort *applibport = NULL; -ULONG applibsig = 0; -uint32 ami_appid = 0; -struct Hook newprefs_hook; - -STRPTR temp_homepage_url = NULL; -bool cli_force = false; +static struct MsgPort *appport; +static Class *urlStringClass; + +static BOOL locked_screen = FALSE; +static int screen_signal = -1; +static ULONG sz_gad_width = 0; +static ULONG sz_gad_height = 0; +static bool win_destroyed; + +static struct MsgPort *applibport = NULL; +static ULONG applibsig = 0; +static uint32 ami_appid = 0; +static struct Hook newprefs_hook; + +static STRPTR temp_homepage_url = NULL; +static bool cli_force = false; static char *current_user; static char *current_user_dir; diff --git a/amiga/gui.h b/amiga/gui.h index c4a0575ab..c20f76434 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -199,7 +199,6 @@ struct MinList *window_list; struct Screen *scrn; STRPTR nsscreentitle; struct MsgPort *sport; -bool win_destroyed; struct gui_window *cur_gw; struct gui_globals browserglob; BOOL ami_autoscroll; diff --git a/amiga/tree.c b/amiga/tree.c index 6127d9339..fc07f0073 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -1415,7 +1415,6 @@ BOOL ami_tree_event(struct treeview_window *twin) break; } - if(win_destroyed) break; code = item->NextSelect; } break; -- cgit v1.2.3