mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Fixed a PuTTYtel startup assertion failure introduced in r8305.
While I'm here, a cosmetic PuTTYtel change: remove a reference to SSH from the "logical host name" label in PuTTYtel only. [originally from svn r8331] [r8305 == ca6fc3a4daf51166a15693feffc967bee9e3f59a]
This commit is contained in:
parent
caf4100ff3
commit
01a7673ae9
18
config.c
18
config.c
@ -1729,13 +1729,17 @@ void setup_config_box(struct controlbox *b, int midsession,
|
|||||||
NULL);
|
NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
s = ctrl_getset(b, "Connection", "identity",
|
{
|
||||||
"Logical name of remote host");
|
char *label = backend_from_proto(PROT_SSH) ?
|
||||||
ctrl_editbox(s, "Logical name of remote host (e.g. for SSH key lookup):",
|
"Logical name of remote host (e.g. for SSH key lookup):" :
|
||||||
'm', 100,
|
"Logical name of remote host:";
|
||||||
HELPCTX(connection_loghost),
|
s = ctrl_getset(b, "Connection", "identity",
|
||||||
dlg_stdeditbox_handler, I(offsetof(Config,loghost)),
|
"Logical name of remote host");
|
||||||
I(sizeof(((Config *)0)->loghost)));
|
ctrl_editbox(s, label, 'm', 100,
|
||||||
|
HELPCTX(connection_loghost),
|
||||||
|
dlg_stdeditbox_handler, I(offsetof(Config,loghost)),
|
||||||
|
I(sizeof(((Config *)0)->loghost)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -382,9 +382,11 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
|
|||||||
* $XAUTHORITY is not reliable on Windows, so we provide a
|
* $XAUTHORITY is not reliable on Windows, so we provide a
|
||||||
* means to override it.
|
* means to override it.
|
||||||
*/
|
*/
|
||||||
s = ctrl_getset(b, "Connection/SSH/X11", "x11", "X11 forwarding");
|
if (backend_from_proto(PROT_SSH)) {
|
||||||
ctrl_filesel(s, "X authority file for local display", 't',
|
s = ctrl_getset(b, "Connection/SSH/X11", "x11", "X11 forwarding");
|
||||||
NULL, FALSE, "Select X authority file",
|
ctrl_filesel(s, "X authority file for local display", 't',
|
||||||
HELPCTX(ssh_tunnels_xauthority),
|
NULL, FALSE, "Select X authority file",
|
||||||
dlg_stdfilesel_handler, I(offsetof(Config, xauthfile)));
|
HELPCTX(ssh_tunnels_xauthority),
|
||||||
|
dlg_stdfilesel_handler, I(offsetof(Config, xauthfile)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user