mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -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:
18
config.c
18
config.c
@ -1729,13 +1729,17 @@ void setup_config_box(struct controlbox *b, int midsession,
|
||||
NULL);
|
||||
#endif
|
||||
|
||||
s = ctrl_getset(b, "Connection", "identity",
|
||||
"Logical name of remote host");
|
||||
ctrl_editbox(s, "Logical name of remote host (e.g. for SSH key lookup):",
|
||||
'm', 100,
|
||||
HELPCTX(connection_loghost),
|
||||
dlg_stdeditbox_handler, I(offsetof(Config,loghost)),
|
||||
I(sizeof(((Config *)0)->loghost)));
|
||||
{
|
||||
char *label = backend_from_proto(PROT_SSH) ?
|
||||
"Logical name of remote host (e.g. for SSH key lookup):" :
|
||||
"Logical name of remote host:";
|
||||
s = ctrl_getset(b, "Connection", "identity",
|
||||
"Logical name of remote host");
|
||||
ctrl_editbox(s, label, 'm', 100,
|
||||
HELPCTX(connection_loghost),
|
||||
dlg_stdeditbox_handler, I(offsetof(Config,loghost)),
|
||||
I(sizeof(((Config *)0)->loghost)));
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user