eliminate netlib dependancy by removing call to FE_Alert

git-svn-id: svn://10.0.0.236/trunk@22951 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
1999-03-05 21:33:02 +00:00
parent adb9ab93da
commit f79fad04dc
2 changed files with 10 additions and 0 deletions

View File

@@ -2429,7 +2429,12 @@ void pref_Alert(char* msg)
#if defined(XP_UNIX)
if ( getenv("NO_PREF_SPAM") == NULL )
#endif
/* FE_Alert will eventually become something else */
#if 0
FE_Alert(NULL, msg);
#else
fputs(stderr, msg);
#endif
#endif
#if defined (XP_PC)
MessageBox (NULL, msg, "Netscape -- JS Preference Warning", MB_OK);

View File

@@ -2429,7 +2429,12 @@ void pref_Alert(char* msg)
#if defined(XP_UNIX)
if ( getenv("NO_PREF_SPAM") == NULL )
#endif
/* FE_Alert will eventually become something else */
#if 0
FE_Alert(NULL, msg);
#else
fputs(stderr, msg);
#endif
#endif
#if defined (XP_PC)
MessageBox (NULL, msg, "Netscape -- JS Preference Warning", MB_OK);