1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Merge Pageant tweak from 'pre-0.75'.

This commit is contained in:
Jacob Nevins 2021-04-22 21:59:35 +01:00
commit be82d94f9d

View File

@ -257,6 +257,11 @@ static INT_PTR CALLBACK PassphraseProc(HWND hwnd, UINT msg,
burnstr(p->passphrase);
p->passphrase = dupstr("");
SetDlgItemText(hwnd, IDC_PASSPHRASE_EDITBOX, p->passphrase);
if (!p->help_topic || !has_help()) {
HWND item = GetDlgItem(hwnd, IDHELP);
if (item)
DestroyWindow(item);
}
return 0;
}
case WM_COMMAND: