зеркало из https://github.com/mozilla/gecko-dev.git
backing out build bustage made to closed tree.
This commit is contained in:
Родитель
c2e2601e86
Коммит
ef1cdcc6eb
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче