mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Omit the conf_launchable check in pterm Duplicate Session.
It won't return true, because pterm's use of conf is a bit nonstandard (it doesn't really bother about the protocol field, and has no use for either host names _or_ serial port filenames). Was affecting both gtkapp and gtkmain based builds.
This commit is contained in:
@ -192,7 +192,8 @@ extern int cfgbox(Conf *conf);
|
||||
|
||||
void launch_duplicate_session(Conf *conf)
|
||||
{
|
||||
assert(conf_launchable(conf));
|
||||
extern const int dup_check_launchable;
|
||||
assert(!dup_check_launchable || conf_launchable(conf));
|
||||
new_session_window(conf, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user