From 42bbb58e1b5d8be1a49f6cc9d874528db176e09c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 7 Aug 2022 18:35:11 +0100 Subject: [PATCH] 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. --- windows/dialog.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/windows/dialog.c b/windows/dialog.c index 98540201..5e49cca9 100644 --- a/windows/dialog.c +++ b/windows/dialog.c @@ -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: