]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Stop the SSH panel appearing in PuTTYtel
authorSimon Tatham <anakin@pobox.com>
Thu, 12 Oct 2000 09:10:45 +0000 (09:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 12 Oct 2000 09:10:45 +0000 (09:10 +0000)
[originally from svn r705]

windlg.c

index 4ef37d99ea0033c38338352c63d55aafe87f6e25..c9e130b70c7061abb8d05011661aa9d438fd45b3 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) {