mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 13:32:48 -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:
@ -1900,7 +1900,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
GetWindowText(hwnd, cfg.wintitle, sizeof(cfg.wintitle));
|
||||
prev_cfg = cfg;
|
||||
|
||||
if (!do_reconfig(hwnd))
|
||||
if (!do_reconfig(hwnd, back ? back->cfg_info(backhandle) : 0))
|
||||
break;
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user