mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -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 == ca6fc3a4da
]
This commit is contained in:
@ -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
|
||||
* means to override it.
|
||||
*/
|
||||
s = ctrl_getset(b, "Connection/SSH/X11", "x11", "X11 forwarding");
|
||||
ctrl_filesel(s, "X authority file for local display", 't',
|
||||
NULL, FALSE, "Select X authority file",
|
||||
HELPCTX(ssh_tunnels_xauthority),
|
||||
dlg_stdfilesel_handler, I(offsetof(Config, xauthfile)));
|
||||
if (backend_from_proto(PROT_SSH)) {
|
||||
s = ctrl_getset(b, "Connection/SSH/X11", "x11", "X11 forwarding");
|
||||
ctrl_filesel(s, "X authority file for local display", 't',
|
||||
NULL, FALSE, "Select X authority file",
|
||||
HELPCTX(ssh_tunnels_xauthority),
|
||||
dlg_stdfilesel_handler, I(offsetof(Config, xauthfile)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user