mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12: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:
@ -1,4 +1,4 @@
|
||||
/* $Id: macdlg.c,v 1.18 2003/04/05 15:01:16 ben Exp $ */
|
||||
/* $Id$ */
|
||||
/*
|
||||
* Copyright (c) 2002 Ben Harris
|
||||
* All rights reserved.
|
||||
@ -67,7 +67,7 @@ void mac_newsession(void)
|
||||
|
||||
get_sesslist(&sesslist, TRUE);
|
||||
s->ctrlbox = ctrl_new_box();
|
||||
setup_config_box(s->ctrlbox, &sesslist, FALSE, 0);
|
||||
setup_config_box(s->ctrlbox, &sesslist, FALSE, 0, 0);
|
||||
|
||||
s->settings_ctrls.data = &s->cfg;
|
||||
s->settings_ctrls.end = &mac_enddlg;
|
||||
|
Reference in New Issue
Block a user