mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Remove redundant setup of host key prompt help contexts.
We're now setting the help context centrally in ssh/common.c - but I forgot to remove the _old_ assignment statements, which overwrite whatever that asks for. Oops.
This commit is contained in:
parent
423ce20ffb
commit
42bbb58e1b
@ -974,7 +974,6 @@ static INT_PTR HostKeyDialogProc(HWND hwnd, UINT msg,
|
||||
const char *dlg_title = "";
|
||||
ctx->has_title = false;
|
||||
LPCTSTR iconid = IDI_QUESTION;
|
||||
ctx->helpctx = WINHELP_CTX_errors_hostkey_absent;
|
||||
|
||||
for (SeatDialogTextItem *item = ctx->text->items,
|
||||
*end = item + ctx->text->nitems; item < end; item++) {
|
||||
@ -988,7 +987,6 @@ static INT_PTR HostKeyDialogProc(HWND hwnd, UINT msg,
|
||||
case SDT_SCARY_HEADING:
|
||||
SetDlgItemText(hwnd, IDC_HK_TITLE, item->text);
|
||||
iconid = IDI_WARNING;
|
||||
ctx->helpctx = WINHELP_CTX_errors_hostkey_changed;
|
||||
ctx->has_title = true;
|
||||
break;
|
||||
case SDT_TITLE:
|
||||
|
Loading…
Reference in New Issue
Block a user