From d8b5ade0b3adb718c4aa87daaab5805426f6f019 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 20 Jan 2001 11:00:07 +0000 Subject: [PATCH] Make sure it's SSH, and not Rlogin, which gets omitted from the PuTTYtel config box. Oops! git-svn-id: svn://svn.tartarus.org/sgt/putty@877 cda61777-01e9-0310-a592-d414129be87e --- windlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windlg.c b/windlg.c index 62b49d0a..f3f7dfc1 100644 --- a/windlg.c +++ b/windlg.c @@ -705,7 +705,7 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg, multiedit(&cp, "Host &Name", IDC_HOSTSTATIC, IDC_HOST, 75, "&Port", IDC_PORTSTATIC, IDC_PORT, 25, NULL); - if (backends[2].backend == NULL) { + if (backends[3].backend == NULL) { /* this is PuTTYtel, so only two protocols available */ radioline(&cp, "Protocol:", IDC_PROTSTATIC, 4, "&Raw", IDC_PROTRAW, @@ -1027,7 +1027,7 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg, } /* The SSH panel. Accelerators used: [acgo] rmakwp123bd */ - if (backends[2].backend != NULL) { + if (backends[3].backend != NULL) { struct ctlpos cp; ctlposinit(&cp, hwnd, 80, 3, 13); if (dlgtype == 0) { -- 2.11.0