From: simon Date: Tue, 28 Jan 2003 12:06:37 +0000 (+0000) Subject: And another bit missing from the settings changes: pterm's platform X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/c888fed4d561254d2e08f5729defc3a66016ce50?ds=sidebyside And another bit missing from the settings changes: pterm's platform default for CloseOnExit was encoded wrongly. Hopefully this should be everything now; I'm really starting to get sick of picking up the pieces after my two checkins yesterday. Perhaps I should have waited until I had a brain before doing them in the first place. git-svn-id: svn://svn.tartarus.org/sgt/putty@2746 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/pterm.c b/unix/pterm.c index 016ef21f..5a48dd03 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -98,7 +98,7 @@ char *platform_default_s(const char *name) int platform_default_i(const char *name, int def) { if (!strcmp(name, "CloseOnExit")) - return FORCE_ON; /* AUTO works badly in an xterm */ + return 2; /* maps to FORCE_ON after painful rearrangement :-( */ return def; }