mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Loose end from r5031: the Kex panel should only be displayed in
mid-session if we are not using SSHv1. I've done this by introducing
a generic `cfg_info' function which every back end can use to
communicate an int's worth of data to setup_config_box; in SSH
that's the protocol version in use, and in everything else it's
currently zero.
[originally from svn r5040]
[r5031 == d77102a8d5
]
This commit is contained in:
@ -2857,7 +2857,8 @@ void change_settings_menuitem(GtkMenuItem *item, gpointer data)
|
||||
|
||||
cfg2 = inst->cfg; /* structure copy */
|
||||
|
||||
if (do_config_box(title, &cfg2, 1)) {
|
||||
if (do_config_box(title, &cfg2, 1,
|
||||
inst->back?inst->back->cfg_info(inst->backhandle):0)) {
|
||||
|
||||
oldcfg = inst->cfg; /* structure copy */
|
||||
inst->cfg = cfg2; /* structure copy */
|
||||
|
Reference in New Issue
Block a user