backing out build bustage made to closed tree.

This commit is contained in:
donm%netscape.com 1999-05-13 20:06:52 +00:00
Родитель c2e2601e86
Коммит ef1cdcc6eb
1 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -2198,16 +2198,10 @@ wallet_ClearStopwatch();
PUBLIC void PUBLIC void
WLLT_OKToCapture(PRBool * result, PRInt32 count, char* URLName) { WLLT_OKToCapture(PRBool * result, PRInt32 count, char* URLName) {
char * message = Wallet_Localize("WantToCaptureForm?"); char * message = Wallet_Localize("WantToCaptureForm?");
nsFileSpec file = Wallet_ProfileDirectory(WALLET_EDITOR_NAME); nsFileURL u = nsFileURL(Wallet_ProfileDirectory(WALLET_EDITOR_NAME));
if (file) { *result =
nsFileURL u = nsFileURL(file); (PL_strcmp(URLName, (char *)u.GetURLString())) && wallet_GetFormsCapturingPref() &&
*result = (count>=3) && FE_Confirm(message);
(PL_strcmp(URLName, (char *)u.GetURLString())) && wallet_GetFormsCapturingPref() &&
(count>=3) && FE_Confirm(message);
}
else {
*result = PR_FALSE;
}
PR_FREEIF(message); PR_FREEIF(message);
} }