mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Make sure it's SSH, and not Rlogin, which gets omitted from the
PuTTYtel config box. Oops! [originally from svn r877]
This commit is contained in:
parent
ca90be26a8
commit
7edcb497cc
4
windlg.c
4
windlg.c
@ -705,7 +705,7 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
|
|||||||
multiedit(&cp,
|
multiedit(&cp,
|
||||||
"Host &Name", IDC_HOSTSTATIC, IDC_HOST, 75,
|
"Host &Name", IDC_HOSTSTATIC, IDC_HOST, 75,
|
||||||
"&Port", IDC_PORTSTATIC, IDC_PORT, 25, NULL);
|
"&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 */
|
/* this is PuTTYtel, so only two protocols available */
|
||||||
radioline(&cp, "Protocol:", IDC_PROTSTATIC, 4,
|
radioline(&cp, "Protocol:", IDC_PROTSTATIC, 4,
|
||||||
"&Raw", IDC_PROTRAW,
|
"&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;
|
struct ctlpos cp;
|
||||||
ctlposinit(&cp, hwnd, 80, 3, 13);
|
ctlposinit(&cp, hwnd, 80, 3, 13);
|
||||||
if (dlgtype == 0) {
|
if (dlgtype == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user