From c230941408cc4af4680e5a71264780ae0884cfaa Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 23 Jan 2001 14:20:04 +0000 Subject: [PATCH] When the SSH panel disappears in puttytel, the Tunnels panel should too! git-svn-id: svn://svn.tartarus.org/sgt/putty@890 cda61777-01e9-0310-a592-d414129be87e --- windlg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/windlg.c b/windlg.c index 737305df..7a546541 100644 --- a/windlg.c +++ b/windlg.c @@ -1092,9 +1092,10 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg, if (dlgtype == 0) { treeview_insert(&tvfaff, 1, "Telnet"); treeview_insert(&tvfaff, 1, "Rlogin"); - if (backends[3].backend != NULL) + if (backends[3].backend != NULL) { treeview_insert(&tvfaff, 1, "SSH"); - treeview_insert(&tvfaff, 2, "Tunnels"); + treeview_insert(&tvfaff, 2, "Tunnels"); + } } /* -- 2.11.0