I think this should be s not g.

This commit is contained in:
Steve Checkoway
2005-12-23 13:36:56 +00:00
parent 77d9169679
commit 8c47a17f67
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include "global.h" #include "global.h"
#include "ArchHooks.h" #include "ArchHooks.h"
bool ArchHooks::g_bQuitting = false; bool ArchHooks::s_bQuitting = false;
ArchHooks *HOOKS = NULL; ArchHooks *HOOKS = NULL;
#include "Selector_ArchHooks.h" #include "Selector_ArchHooks.h"
+3 -3
View File
@@ -3,7 +3,7 @@
class ArchHooks class ArchHooks
{ {
static bool g_bQuitting; static bool s_bQuitting;
public: public:
virtual ~ArchHooks() { } virtual ~ArchHooks() { }
@@ -48,8 +48,8 @@ public:
/* /*
* Returns true if the user wants to quit (eg. ^C, or clicked a "close window" button). * Returns true if the user wants to quit (eg. ^C, or clicked a "close window" button).
*/ */
static bool UserQuit() { return g_bQuitting; } static bool UserQuit() { return s_bQuitting; }
static void SetUserQuit() { g_bQuitting = true; } static void SetUserQuit() { s_bQuitting = true; }
/* /*
* Return the amount of time since the program started. (This may actually be * Return the amount of time since the program started. (This may actually be