зеркало из https://github.com/mozilla/gecko-dev.git
eliminate netlib dependancy by removing call to FE_Alert
This commit is contained in:
Родитель
426f036721
Коммит
95f1e4722d
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче