Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up.

This commit is contained in:
tbogard%aol.net 1999-11-29 05:50:22 +00:00
parent 108efebf8a
commit 88639c509e
2 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@
* always compiled in, in case some other module that uses it is
* compiled with debugging even if this library is not.
*/
static PRBool gWarningMessageBoxEnable = PR_TRUE;
static PRBool gWarningMessageBoxEnable = PR_FALSE;
static PRLogModuleInfo* gDebugLog;
static void InitLog(void)
@ -108,8 +108,8 @@ static void InitLog(void)
gDebugLog->level = PR_LOG_DEBUG;
#if defined(XP_UNIX) || defined(_WIN32)
if (getenv("MOZ_WARNING_NO_MESSAGE_BOX")) {
gWarningMessageBoxEnable = PR_FALSE;
if (getenv("MOZ_WARNING_MESSAGE_BOX")) {
gWarningMessageBoxEnable = PR_TRUE;
}
#endif
}

View File

@ -98,7 +98,7 @@
* always compiled in, in case some other module that uses it is
* compiled with debugging even if this library is not.
*/
static PRBool gWarningMessageBoxEnable = PR_TRUE;
static PRBool gWarningMessageBoxEnable = PR_FALSE;
static PRLogModuleInfo* gDebugLog;
static void InitLog(void)
@ -108,8 +108,8 @@ static void InitLog(void)
gDebugLog->level = PR_LOG_DEBUG;
#if defined(XP_UNIX) || defined(_WIN32)
if (getenv("MOZ_WARNING_NO_MESSAGE_BOX")) {
gWarningMessageBoxEnable = PR_FALSE;
if (getenv("MOZ_WARNING_MESSAGE_BOX")) {
gWarningMessageBoxEnable = PR_TRUE;
}
#endif
}