mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Merge Pageant tweak from 'pre-0.75'.
This commit is contained in:
commit
be82d94f9d
@ -257,6 +257,11 @@ static INT_PTR CALLBACK PassphraseProc(HWND hwnd, UINT msg,
|
|||||||
burnstr(p->passphrase);
|
burnstr(p->passphrase);
|
||||||
p->passphrase = dupstr("");
|
p->passphrase = dupstr("");
|
||||||
SetDlgItemText(hwnd, IDC_PASSPHRASE_EDITBOX, p->passphrase);
|
SetDlgItemText(hwnd, IDC_PASSPHRASE_EDITBOX, p->passphrase);
|
||||||
|
if (!p->help_topic || !has_help()) {
|
||||||
|
HWND item = GetDlgItem(hwnd, IDHELP);
|
||||||
|
if (item)
|
||||||
|
DestroyWindow(item);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user