mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
turn off alert code because of #7770.
This commit is contained in:
parent
9419f45af9
commit
5b9a8f1310
@ -40,7 +40,11 @@ nsMsgDisplayMessageByID(PRInt32 msgID)
|
||||
nsAutoString alertText(msg);
|
||||
if (dialog)
|
||||
{
|
||||
#ifdef BUG_7770_IS_FIXED
|
||||
rv = dialog->Alert(alertText);
|
||||
#else
|
||||
printf("%s",msg);
|
||||
#endif
|
||||
}
|
||||
|
||||
PR_FREEIF(msg);
|
||||
@ -65,9 +69,7 @@ nsMsgDisplayMessageByString(char *msg)
|
||||
#ifdef BUG_7770_IS_FIXED
|
||||
rv = dialog->Alert(alertText);
|
||||
#else
|
||||
#ifdef DEBUG
|
||||
printf("%s",msg);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user