From 03dcf5251e11d4e71183238bedf6325501b8de48 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 11 May 2002 13:12:19 +0000 Subject: [PATCH] Remove tiny unnecessary faff in new SSH-2-only code git-svn-id: svn://svn.tartarus.org/sgt/putty@1665 cda61777-01e9-0310-a592-d414129be87e --- 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); -- 2.11.0