From: Simon Tatham Date: Tue, 28 Jan 2003 12:06:37 +0000 (+0000) Subject: And another bit missing from the settings changes: pterm's platform X-Git-Tag: r8855-g4f798d~1674 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=d195fb1a67757747fd81b96958b50ee662354b60;p=PuTTY_svn.git 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: http://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; }