Stop the SSH panel appearing in PuTTYtel
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 12 Oct 2000 09:10:45 +0000 (09:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 12 Oct 2000 09:10:45 +0000 (09:10 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@705 cda61777-01e9-0310-a592-d414129be87e

windlg.c

index 4ef37d9..c9e130b 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -1546,7 +1546,7 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
        }
 
        /* The SSH panel. Accelerators used: [acgo] rmakwp123bd */
-       {
+        if (backends[2].backend != NULL) {
            struct ctlpos cp;
            ctlposinit(&cp, hwnd, 80, 3, 13);
            if (dlgtype == 0) {