mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-17 19:18:06 -05:00
Remove tiny unnecessary faff in new SSH-2-only code
[originally from svn r1665]
This commit is contained in:
parent
c71432cb86
commit
07d48d8b27
4
windlg.c
4
windlg.c
@ -1153,9 +1153,7 @@ static void init_dlg_ctrls(HWND hwnd, int keepsess)
|
|||||||
CheckDlgButton(hwnd, IDC_CHANGEUSER, cfg.change_username);
|
CheckDlgButton(hwnd, IDC_CHANGEUSER, cfg.change_username);
|
||||||
CheckRadioButton(hwnd, IDC_SSHPROT1, IDC_SSHPROT2ONLY,
|
CheckRadioButton(hwnd, IDC_SSHPROT1, IDC_SSHPROT2ONLY,
|
||||||
cfg.sshprot == 1 ? IDC_SSHPROT1 :
|
cfg.sshprot == 1 ? IDC_SSHPROT1 :
|
||||||
cfg.sshprot == 2 ? IDC_SSHPROT2 :
|
cfg.sshprot == 2 ? IDC_SSHPROT2 : IDC_SSHPROT2ONLY);
|
||||||
cfg.sshprot == 3 ? IDC_SSHPROT2ONLY :
|
|
||||||
IDC_SSHPROT1); /* Should we make the default 2? */
|
|
||||||
CheckDlgButton(hwnd, IDC_AUTHTIS, cfg.try_tis_auth);
|
CheckDlgButton(hwnd, IDC_AUTHTIS, cfg.try_tis_auth);
|
||||||
CheckDlgButton(hwnd, IDC_AUTHKI, cfg.try_ki_auth);
|
CheckDlgButton(hwnd, IDC_AUTHKI, cfg.try_ki_auth);
|
||||||
SetDlgItemText(hwnd, IDC_PKEDIT, cfg.keyfile);
|
SetDlgItemText(hwnd, IDC_PKEDIT, cfg.keyfile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user