mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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 = "";
|
const char *dlg_title = "";
|
||||||
ctx->has_title = false;
|
ctx->has_title = false;
|
||||||
LPCTSTR iconid = IDI_QUESTION;
|
LPCTSTR iconid = IDI_QUESTION;
|
||||||
ctx->helpctx = WINHELP_CTX_errors_hostkey_absent;
|
|
||||||
|
|
||||||
for (SeatDialogTextItem *item = ctx->text->items,
|
for (SeatDialogTextItem *item = ctx->text->items,
|
||||||
*end = item + ctx->text->nitems; item < end; item++) {
|
*end = item + ctx->text->nitems; item < end; item++) {
|
||||||
@ -988,7 +987,6 @@ static INT_PTR HostKeyDialogProc(HWND hwnd, UINT msg,
|
|||||||
case SDT_SCARY_HEADING:
|
case SDT_SCARY_HEADING:
|
||||||
SetDlgItemText(hwnd, IDC_HK_TITLE, item->text);
|
SetDlgItemText(hwnd, IDC_HK_TITLE, item->text);
|
||||||
iconid = IDI_WARNING;
|
iconid = IDI_WARNING;
|
||||||
ctx->helpctx = WINHELP_CTX_errors_hostkey_changed;
|
|
||||||
ctx->has_title = true;
|
ctx->has_title = true;
|
||||||
break;
|
break;
|
||||||
case SDT_TITLE:
|
case SDT_TITLE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user