From 07d48d8b27f833e26bb75c3973e69975e23a9f9c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 11 May 2002 13:12:19 +0000 Subject: [PATCH] Remove tiny unnecessary faff in new SSH-2-only code [originally from svn r1665] --- windlg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/windlg.c b/windlg.c index 8b358c62..bdc98521 100644 --- a/windlg.c +++ b/windlg.c @@ -1153,9 +1153,7 @@ static void init_dlg_ctrls(HWND hwnd, int keepsess) CheckDlgButton(hwnd, IDC_CHANGEUSER, cfg.change_username); CheckRadioButton(hwnd, IDC_SSHPROT1, IDC_SSHPROT2ONLY, cfg.sshprot == 1 ? IDC_SSHPROT1 : - cfg.sshprot == 2 ? IDC_SSHPROT2 : - cfg.sshprot == 3 ? IDC_SSHPROT2ONLY : - IDC_SSHPROT1); /* Should we make the default 2? */ + cfg.sshprot == 2 ? IDC_SSHPROT2 : IDC_SSHPROT2ONLY); CheckDlgButton(hwnd, IDC_AUTHTIS, cfg.try_tis_auth); CheckDlgButton(hwnd, IDC_AUTHKI, cfg.try_ki_auth); SetDlgItemText(hwnd, IDC_PKEDIT, cfg.keyfile);