I think this should be s not g.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "global.h"
|
||||
#include "ArchHooks.h"
|
||||
|
||||
bool ArchHooks::g_bQuitting = false;
|
||||
bool ArchHooks::s_bQuitting = false;
|
||||
ArchHooks *HOOKS = NULL;
|
||||
|
||||
#include "Selector_ArchHooks.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
class ArchHooks
|
||||
{
|
||||
static bool g_bQuitting;
|
||||
static bool s_bQuitting;
|
||||
public:
|
||||
virtual ~ArchHooks() { }
|
||||
|
||||
@@ -48,8 +48,8 @@ public:
|
||||
/*
|
||||
* Returns true if the user wants to quit (eg. ^C, or clicked a "close window" button).
|
||||
*/
|
||||
static bool UserQuit() { return g_bQuitting; }
|
||||
static void SetUserQuit() { g_bQuitting = true; }
|
||||
static bool UserQuit() { return s_bQuitting; }
|
||||
static void SetUserQuit() { s_bQuitting = true; }
|
||||
|
||||
/*
|
||||
* Return the amount of time since the program started. (This may actually be
|
||||
|
||||
Reference in New Issue
Block a user