Make sure it's SSH, and not Rlogin, which gets omitted from the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Jan 2001 11:00:07 +0000 (11:00 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Jan 2001 11:00:07 +0000 (11:00 +0000)
PuTTYtel config box. Oops!

git-svn-id: svn://svn.tartarus.org/sgt/putty@877 cda61777-01e9-0310-a592-d414129be87e

windlg.c

index 62b49d0..f3f7dfc 100644 (file)
--- 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);
                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,
                    /* 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 */
        }
 
        /* 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) {
            struct ctlpos cp;
            ctlposinit(&cp, hwnd, 80, 3, 13);
            if (dlgtype == 0) {